[mod_python] 411 Length Required for POST

Graham Dumpleton grahamd at dscpl.com.au
Fri Mar 3 16:01:27 EST 2006


On 04/03/2006, at 7:47 AM, Deron Meranda wrote:

> Note you don't have to use either URL encoding or FORM encoding.
> If you want something simple to build in Javascript, but which  
> still goes
> in the POST request body, look at JSON, http://json.org/ -- there's  
> python
> bindings so it would be easy for your mod_python modules to decode
> JSON formatted data.

Problem is that if using publisher, it will reject other inbound  
content type
values. See:

  http://issues.apache.org/jira/browse/MODPYTHON-29

Thus you can't use publisher.

Graham


More information about the Mod_python mailing list