<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
I've been getting this error a lot in my testing. I never received it
with Apache. I understand what the message say but not why it's coming
about. My headers being sent have length. Or is this message referring
to content returned by PHP at the server end? I'm sure one of you
experts here knows what's going on with this. I only get it on POST
requests and not most of my ajax calls (which are GET).<br>
<br>
Thanks for any help with tracking this down. I'm seeing it in Firebug
and when it occurs I cannot see the real response content - even though
content is indeed returned as well since it has effect on my javascript
code and updates the screen. Weird.<br>
Chris :)<br>
<br>
Response from server:<br>
</font>
<pre>&lt;html&gt;</pre>
<pre>&lt;head&gt;&lt;title&gt;411 Length Required&lt;/title&gt;&lt;/head&gt;</pre>
<pre>&lt;body bgcolor="white"&gt;</pre>
<pre>&lt;center&gt;&lt;h1&gt;411 Length Required&lt;/h1&gt;&lt;/center&gt;</pre>
<pre>&lt;hr&gt;&lt;center&gt;nginx/0.6.32&lt;/center&gt;</pre>
<pre>&lt;/body&gt;</pre>
<pre>&lt;/html&gt;

Header sent to server using ajax (only removed some identity info, HOST line):
</pre>
<table selected="true"
 class="netInfoHeadersText netInfoText netInfoHeadersTable"
 cellpadding="0" cellspacing="0">
  <tbody class="">
    <tr class="">
      <td class="netInfoParamName">User-Agent</td>
      <td class="netInfoParamValue">Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Accept</td>
      <td class="netInfoParamValue">text/javascript, text/html,
application/xml, text/xml, */*</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Accept-Language</td>
      <td class="netInfoParamValue">en-us,en;q=0.5</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Accept-Encoding</td>
      <td class="netInfoParamValue">gzip,deflate</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Accept-Charset</td>
      <td class="netInfoParamValue">ISO-8859-1,utf-8;q=0.7,*;q=0.7</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Keep-Alive</td>
      <td class="netInfoParamValue">300</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Connection</td>
      <td class="netInfoParamValue">keep-alive</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">X-Requested-With</td>
      <td class="netInfoParamValue">XMLHttpRequest</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Content-Type</td>
      <td class="netInfoParamValue">application/x-www-form-urlencoded;
charset=utf-8</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Referer</td>
      <td class="netInfoParamValue"><a class="moz-txt-link-freetext" href="http://www.xxxxx.com/">http://www.xxxxx.com/</a></td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Content-Length</td>
      <td class="netInfoParamValue">269</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Cookie</td>
      <td class="netInfoParamValue">ZZZZSession=3ce34bb3dbc257ff61405175f941f1d7</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Pragma</td>
      <td class="netInfoParamValue">no-cache</td>
    </tr>
    <tr class="">
      <td class="netInfoParamName">Cache-Control</td>
      <td class="netInfoParamValue">no-cache</td>
    </tr>
  </tbody>
</table>
<pre>

</pre>
<br>
</body>
</html>