I'm upgrading to from version 4.2.5 of HttpClient to version 4.3.1.

My code has these 2 lines:
final Request request = Request.Get(url);
request.config(ClientPNames.COOKIE_POLICY, CookiePolicy.IGNORE_COOKIES);

Since request.config is now deprecated, what should I replace that second
line with?

I see that version 4.3 provides a new class
called org.apache.http.client.config.CookieSpecs.  The class's javadoc
indicates that this is probably the right class to use, but I don't see any
documentation that describes how to use it or examples that show how to use
it.

Reply via email to