[Mongrel] Mongrel + Apache 2.2 Content-Length

Reinaldo Mello lists at ruby-forum.com
Mon Nov 5 08:27:21 EST 2007


Hi. I have a mongrel+apache2.2 config running.
It happens that one of our partners request a response body containing
ONLY one char. It happens that they reported me that sometimes (!) my
response was going like this:
================================ <- this line is to separate this text
HTTP/1.1 200 OK
Date: Sat, 03 Nov 2007 23:12:16 GMT
Server: Mongrel 1.0.1
Status: 200 OK
Cache-Control: no-cache
Content-Type: text/plain; charset=ISO-8859-1
Content-Length: 1
Vary: Accept-Encoding
Connection: close


0
================================ <- this line is to separate this text
Although the content-length is set to 1, mongrel (or apache) inserted
double line breaks before the original response (as set on rails -> 0)

Can anyone help?
Thanks in advance
Reinaldo
-- 
Posted via http://www.ruby-forum.com/.


More information about the Mongrel-users mailing list