# Mongrel + Apache 2.2 Content-Length

**URL:** <https://www.ruby-forum.com/t/mongrel-apache-2-2-content-length/119258>\
**Category:** Mongrel\
**Created:** [November 5, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/mongrel-apache-2-2-content-length/119258 "2007-11-05T14:27:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@rmello](https://www.ruby-forum.com/u/rmello)\
**Post date:** [November 5, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/mongrel-apache-2-2-content-length/119258/1 "2007-11-05T14:27:21Z")

</div>

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
