Apache Http Client and cookie

User avatar
Marie Clair
Уже с Приветом
Posts: 17688
Joined: 19 Sep 2005 16:57
Location: NJ, US

Apache Http Client and cookie

Post by Marie Clair »

Помогите разобраться, есть spring framework app, rest template с apache http client. By default http client adds a cookie to the request

Code: Select all

Set-Cookie: machine=0aa20016;path=/
другая сторона жалуется, что проиcxодит stickiness. Вроде все просто, не посылай и все дела. Но disableCookieManagement() of HttpClientBuilder не работает как хотелось бы, set-cookie все равно посылается. Google выдает use of BasicCookieStore(), но как-то уж слишком сложно. Может есть что-то более простое?
The best things in life either make you fat, drunk, or pregnant.

Return to “Вопросы и новости IT”