Why "Content-Length: 0" in POST requests?
Posted
by stesch
on Stack Overflow
See other posts from Stack Overflow
or by stesch
Published on 2008-11-30T00:59:57Z
Indexed on
2010/03/31
13:43 UTC
Read the original article
Hit count: 194
A customer sometimes sends POST requests with Content-Length: 0
when submitting a form (10 to over 40 fields).
We tested it with different browsers and from different locations but couldn't reproduce the error. The customer is using Internet Explorer 7 and a proxy.
We asked them to let their system administrator see into the problem from their side. Running some tests without the proxy, etc..
In the meantime (half a year later and still no answer) I'm curious if somebody else knows of similar problems with a Content-Length: 0
request. Maybe from inside some Windows network with a special proxy for big companies.
Is there a known problem with Internet Explorer 7? With a proxy system? The Windows network itself?
Google only showed something in the context of NTLM (and such) authentication, but we aren't using this in the web application. Maybe it's in the way the proxy operates in the customer's network with Windows logins? (I'm no Windows expert. Just guessing.)
I have no further information about the infrastructure.
© Stack Overflow or respective owner