[mod_python] 411 Length Required for POST

Deron Meranda deron.meranda at gmail.com
Fri Mar 3 14:14:12 EST 2006


On 3/3/06, John Ruff <jcruff at gmail.com> wrote:
> Thanks, actually I'm already using x-www-form-urlencoded originally
> as a test to confirm the header was being set with XMLHtttpRequest's
> setRequestHeader() method (which is it).  But for whatever reason the
> Content-Length is not being set in the POST header.

Are you actually sending any content?

POST requests should almost always be sent with multipart/form-data.

What browser/user agent are you using?  Can you include a
(short) snippet of your javascript code where you are setting up
can calling the XMLHttpRequest object.
--
Deron Meranda



More information about the Mod_python mailing list