ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)
agentzh
agentzh at gmail.com
Wed Apr 28 08:23:13 MSD 2010
On Mon, Apr 26, 2010 at 12:35 AM, Aaron Nichols <anichols at trumped.org> wrote:
> On Sun, Apr 25, 2010 at 4:06 AM, agentzh <agentzh at gmail.com> wrote:
>> You may find the ngx_chunkin module helpful:
>>
>> http://wiki.nginx.org/NginxHttpChunkinModule
>
> Yep, I tried this module right off the bat and received the same
> error.
Okay, my bad. ngx_chunkin does not support PUT requests yet (The nginx
core goes another route for non-POST requests with chunked encoding.).
I've never tried PUT in my test suite. I'll try fixing it in the next
release. It should be a simple fix in the
ngx_http_chunkin_is_chunked_encod
ing function. Thanks for the report!
BTW, nginx will still print that error message to error.log even if
ngx_chunkin works. Because nginx aggressively checks this case when it
parses request headers and ngx_chunkin cannot take any action before
that. Commenting out that ngx_log_error line in the nginx core should
work ;)
Cheers,
-agentzh
More information about the nginx
mailing list