chunked Transfer-Encoding forbidden

来源:互联网 发布:c函数返回字符串数组 编辑:程序博客网 时间:2024/05/18 00:05
chunked Transfer-Encoding forbidden

in my Apache2 log I concluded that the error was not in the POST that I was making.

I found that modwsgi (the middle-layer between apache and django) does not enable chunked transfer-encoding by default.In the past, chunked wasn't supported at all

Refering to the change-log in the new version of modwsgi, I found that writing

WSGIChunkedRequest On

in my apache httpd.conf file allowed chunked requests (no more 411 error)

原创粉丝点击