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