hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ollie Rutherfurd <oli...@rutherfurd.net>
Subject addRequestHeader doesn't work for "Cookie"?
Date Tue, 21 Oct 2003 17:48:14 GMT

I'm using HttpClient 2.0 rc-2 and having a problem adding a request header named 

Using the following:

   method.addRequestHeader("Cookie", "MOIN_ID=\"...\"");

I don't see a "Cookie" header, combing through the logging output with 

Using the following:

   method.addRequestHeader("FooHoo", "WooWee");

I do see "FooHoo", so this seems to be specific to "Cookie" unless I'm missing 
something or doing something wrong.

Is this a bug or by design?  I'd like to be able to send a cook value with 
having to deal with policies, etc...


Ollie Rutherfurd

To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

View raw message