On Sun, 2009-03-01 at 14:22 -0800, bo wrote: > Hi Oleg, > > I need to reject all cookies from the site I'm accessing, so that would be a > single domain >
If you want to disable cookie processing altogether, you could just remove protocol interceptors responsible for processing Set-Cookie response headers and populating Cookie request headers. If you want to reject cookies selectively, you have to implement a custom CookieSpec (or sub-class an existing implementation). Oleg > Thanks, > > Bob > > On Sun, Mar 1, 2009 at 12:19 PM, Oleg Kalnichevski <[email protected]> wrote: > > > bo wrote: > > > >> What's the proper way of rejecting cookies in the new HttpClient 4? > >> There's > >> no CookiePolicyHandler anymore. > >> > > > > There is no such thing in HttpClient 3.x either. > > > > What do toy mean by 'rejecting cookies'? All cookies? Some cookies? > > > > Oleg > > > > Thanks, > >> > >> Bob S. > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
