How exactly does one go about "removing protocol interceptors"?

Here's what I'm doing in 4.0b2 to handle cookies.  My intent is to have as
fast of a performance as possible and I don't want cookies coming over the
wire slowing things down.
((DefaultHttpClient) httpClient).setCookieStore(null);
((DefaultHttpClient) httpClient).setCookieSpecs(null);

Here's what I did in 3.1:
getmethod.getParams().setCookiePolicy(CookiePolicy.IGNORE_COOKIES);

Are these correct?
-- 
View this message in context: 
http://www.nabble.com/Reject-Cookies-tp22250341p22988108.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to