Re: addRequestHeader doesn't work for "Cookie"?

2003-10-22 Thread Ollie Rutherfurd
Thanks, Oleg! -Ollie Oleg Kalnichevski wrote: Ollie, That was a conscious design decision. Ideally one should be using HttpState#addCoookie method to add cookies to the HTTP state used by HttpClient. Lately, however, quite a few people complained about inability to add 'Cookie' request headers

Re: addRequestHeader doesn't work for "Cookie"?

2003-10-21 Thread Oleg Kalnichevski
Ollie, That was a conscious design decision. Ideally one should be using HttpState#addCoookie method to add cookies to the HTTP state used by HttpClient. Lately, however, quite a few people complained about inability to add 'Cookie' request headers as a limitation of the existing cookie managemen

addRequestHeader doesn't work for "Cookie"?

2003-10-21 Thread Ollie Rutherfurd
Hi, I'm using HttpClient 2.0 rc-2 and having a problem adding a request header named "Cookie". Using the following: method.addRequestHeader("Cookie", "MOIN_ID=\"...\""); I don't see a "Cookie" header, combing through the logging output with "org.apache.commons.logging.simplelog.log.httpclie