Welcome! Log In Create A New Profile

Advanced

ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

agentzh
April 28, 2010 12:28AM
On Mon, Apr 26, 2010 at 12:35 AM, Aaron Nichols <anichols@trumped.org> wrote:
> On Sun, Apr 25, 2010 at 4:06 AM, agentzh <agentzh@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

agentzh April 28, 2010 12:28AM

Re: ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

anichols April 28, 2010 04:06AM

Re: ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

anichols July 22, 2010 02:20PM

Re: ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

agentzh July 22, 2010 10:20PM

Re: ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

agentzh August 02, 2010 03:54AM

Re: ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

anichols August 03, 2010 01:04PM

Re: ngx_chunkin does not support PUT requests yet (Was Re: PUT support for chunked encoding with no Content-Length header)

agentzh August 03, 2010 10:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 280
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready