Hello,

Transfer-Encoding and Content-Encoding are two completely
separate things. I'm pretty sure that Content-Encoding:gzip
is sent with Transfer-Encoding:chunked. If you want server
responses with content compression, send a header to that effect
in your request, and decompress the response accordingly.
There is example code for HttpCore at [1].

You can generate a wire log [2] to see what data is sent and
received. Depending on the logging framework you use, you
can also get timestamps for the log entries which will show
where the delay happens. Feel free to post wire logs to this
mailing list if you need help with interpreting them.

cheers,
  Roland

[1]
http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk/contrib/src/main/java/org/apache/http/contrib/compress/
[2] http://jakarta.apache.org/httpcomponents/httpclient-3.x/logging.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to