hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject RE: Question re: Transfer-Encoding
Date Thu, 23 Jun 2005 05:36:51 GMT
Hello Gil,

> Now that I have access to the source for the handler, I can mess with
> avoiding the Transfer-Encoding http header, but I don't want to lose
> keep-alive. If I do this:
> httpClient.getParams().setParameter("http.protocol.version",HttpVersion.
> HTTP_1_0);
> it gets rid of the Transfer-Encoding http header, but will this get rid
> of keep-alive as well (for complicated reasons, I can't test this in our
> pre-prod environments)??

It probably would. Use EntityEnclosingMethod.setContentChunked(false).

hope that helps,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message