|
From: Chris P. <ch...@fo...> - 2004-01-17 05:13:42
|
G'day,
>>web_client.addRequestHeader("Cookie", COOKIE);
>>page = (HtmlPage) web_client.getPage("http://localhost/cgi-bin/printenv");
>
> I would have expected that to work but perhaps common-httpclient is
> stripping that header out.
That's possible:
web_client.addRequestHeader("Http_Cookie", COOKIE);
^^^^
results in HTTP_HTTP_COOKIE in the request header.
Chris.
|