411 Length Required error

Chris Savery chrissavery at gmail.com
Sun Aug 17 11:14:18 MSD 2008


Hello,
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).

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.
Chris :)

Response from server:

<html>

<head><title>411 Length Required</title></head>

<body bgcolor="white">

<center><h1>411 Length Required</h1></center>

<hr><center>nginx/0.6.32</center>

</body>

</html>

Header sent to server using ajax (only removed some identity info, HOST line):

User-Agent 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) 
Gecko/2008072820 Firefox/3.0.1
Accept 	text/javascript, text/html, application/xml, text/xml, */*
Accept-Language 	en-us,en;q=0.5
Accept-Encoding 	gzip,deflate
Accept-Charset 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 	300
Connection 	keep-alive
X-Requested-With 	XMLHttpRequest
Content-Type 	application/x-www-form-urlencoded; charset=utf-8
Referer 	http://www.xxxxx.com/
Content-Length 	269
Cookie 	ZZZZSession=3ce34bb3dbc257ff61405175f941f1d7
Pragma 	no-cache
Cache-Control 	no-cache



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080817/468b7879/attachment.html>


More information about the nginx mailing list