Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm expiriencing some problem with one of my data source services. As it says in HTTP response headers it's running on Apache-Coyote/1.1. Server gives responses with Transfer-Encoding: chunked, here sample response:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 30 Mar 2010 06:13:52 GMT

And problem is when I'm requesting server to send gzipped request it often sends not full response. I recieve response, see that last chunk recived, but then after ungzipping I see that response is partial.

So my question is: is it common apache issue? maybe one of it's mod_deflate plugins or something? Ask questions if you need more info.


share|improve this question
What are you using to read HTTP? Chunked encoding is often poorly implemented/unimplemented. – mbac32768 Apr 2 '10 at 12:25
I did it myself actually :) And i can asure that I recieve full response. I recieve 0 chunk size, then \r\n\r\n which means this is the end as it said in HTTP Specification atleast. – user39542 Apr 2 '10 at 13:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.