Susam, Ryan & Zheng

Thanks and season's greetings to all.

State of play Following inspection, there is a static instance of HTTPClient
which (of course) is initialized once only, and serves as container for
Cookies. So, as long as the target page sets up cookies, they should get
re-sent, regardless of the fetch cycle.

For a bottom line, I'll have to write this all up and check it. Maybe, in my
case, the server in question doesn't set up the cookie it needs, hence the
profusion of jsessionid=xxxx in the URL later.

George

2008/12/12 zhengsj03 User <[email protected]>

> You can print the request headers to verify cookies.
> I have seen the source code.You can add some codes in the file
>
> src/plugin/progocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/httpresponse.java.
> 在 2008-12-11四的 16:29 +0100,George Herlin写道:
> > I have read that if one sets the plugin.includes property to use
> > protocol-httpclient, Nutch 0.9 will use the Apache Commons httpclient.
> >
> > I also believe (with some reason) that that httpclient does automatic
> cookie
> > management.
> >
> > My logs tell me that I am configured to use said protocol-httpclient:
> > ...
> > 2008-12-11 13:47:22,752 INFO  plugin.PluginRepository -     Http / Https
> > Protocol Plug-in (protocol-httpclient)
> > ...
> >
> > Yet, no cookies seem to be resent to server.
> >
> > Is there any way in which I can verify what Set-Cookies have been stored?
> Or
> > is there some extra bit of configuration to enable this stuff?
> >
> > Thanks in advance
>
>
>

Reply via email to