commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: [HTTPClient 3.0 alpha] Cookie handling
Date Tue, 08 Jun 2004 03:04:59 GMT
> Also like to add, in IE
> Connection: Keep-Alive  was sent which was not case with httpclient

Yes, this is not a header that HttpClient includes automatically.  In 
the case of HTTP 1.1 connection keep alive is assumed.  If you are 
using 1.0 you will need to manually set the header, if needed.

HttpMethod.setHeader("Connection", "Keep-Alive");

Mike


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


Mime
View raw message