Johannes Koch wrote:
> Hi,
> 
> what is the way of preventing HttpClient 4 from storing and sending
> cookies? In HttpClient 3 there was CookiePolicy.IGNORE_COOKIES.

Do not use the interceptors that process cookies:
http://jakarta.apache.org/httpcomponents/httpcomponents-client/httpclient/apidocs/org/apache/http/client/protocol/RequestAddCookies.html
http://jakarta.apache.org/httpcomponents/httpcomponents-client/httpclient/apidocs/org/apache/http/client/protocol/ResponseProcessCookies.html

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to