I am running some problems with one of my data source services. As the HTTP response headers say, it runs on Apache-Coyote / 1.1. The server gives answers with Transfer-Encoding: chunked, here is an example response:
HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Transfer-Encoding: chunked Content-Encoding: gzip Date: Tue, 30 Mar 2010 06:13:52 GMT
And the problem is that when I ask the server to send a gzip request, it often sends an incomplete response. I get the answer, I see that the last piece is received, but after unrolling, I see that the answer is partial. I have never seen this behavior with gzip disabled in request headers.
So my question is: is this a common tomcat problem? maybe one of them that does compression? Or maybe it could be some kind of proxy problem? I canβt talk about tomcat versions or what type of gzip they use, but feel free to ask, I will try to ask my service provider.
Thanks.
tomcat gzip chunked-encoding transfer-encoding
hoodoos
source share