On Thu, 2011-01-13 at 05:34 -0800, motital74 wrote: > I am connecting to a web site which send in the response the same cookies > twice. > The first one with value and second one empty. > The httpclient take the last one (with the empty value) to the cookie store > and dismiss the one with the value. > I can see both cookies as part of the response header. > > I am looking for: > 1. a way to interferer with the httpclient where it place the cookies in the > cookies store?
You can either implement a custom CookieStore or replace ResponseProcessCookie protocol interceptor with a custom implementation. > 2. other alternative? Ask maintainers of the site to fix the broken script. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
