Welcome! Log In Create A New Profile

Advanced

Re: plans for chunked encoding

Luka Perkov
November 22, 2012 09:16AM
Hi Maxim,

On Fri, Nov 16, 2012 at 02:17:58PM +0100, Luka Perkov wrote:
> On Fri, Nov 16, 2012 at 03:48:55PM +0400, Maxim Dounin wrote:
> > > On Fri, Oct 19, 2012 at 06:13:10PM +0400, Maxim Dounin wrote:
> > > > > I'm wondering if there is any work done on this already ? If so I could
> > > > > test some patches...
> > > >
> > > > I'll post it here once there is something to test.
> > >
> > > Thank you.
> >
> > JFYI, chunked request body patches are available here:
> >
> > http://mailman.nginx.org/pipermail/nginx-devel/2012-November/002961.html
> >
> > Review and testing appreciated.
>
> Thank you for the patches. I'll test them this weekend (or early next
> week) and I'll give you my feedback after that.

I have started testing your patches. I'm working on dummy module for
dealing with post requests, but in the meantime I have a question.

This is the dummy post data:

$ cat > /tmp/post_data << EOF
test post data
EOF

This is what I have tested:

$ curl -v -X GET http://127.0.0.1:80/

Returns 404 in headers and html body as expected.

$ curl -v -X POST -d "@/tmp/post_data" http://127.0.0.1:80/

Returns 404 in headers and html body as expected.

$ curl -v -X POST -d "@/tmp/post_data" --header "Transfer-Encoding: chunked" http://127.0.0.1:80/

Returns 404 in headers and html body as expected.

$ curl -v -X POST -d "@/dev/null" http://127.0.0.1:80/

Returns 404 in headers and html body as expected.

$ curl -v -X POST -d "@/dev/null" --header "Transfer-Encoding: chunked" http://127.0.0.1:80/

Returns 404 in headers but 500 in html body. Is this how it's supposed to be ?

Luka

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

plans for chunked encoding

Luka Perkov 1296 October 19, 2012 10:04AM

Re: plans for chunked encoding

Maxim Dounin 650 October 19, 2012 10:14AM

Re: plans for chunked encoding

Luka Perkov 690 October 19, 2012 10:26AM

Re: plans for chunked encoding

Maxim Dounin 544 November 16, 2012 06:50AM

Re: plans for chunked encoding

Luka Perkov 581 November 16, 2012 08:20AM

Re: plans for chunked encoding

Luka Perkov 542 November 22, 2012 09:16AM

Re: plans for chunked encoding

Maxim Dounin 781 November 22, 2012 11:26AM

Re: plans for chunked encoding

Luka Perkov 562 November 22, 2012 03:48PM

Re: plans for chunked encoding

Maxim Dounin 639 November 22, 2012 09:22PM

Re: plans for chunked encoding

Luka Perkov 865 November 23, 2012 04:20AM

Re: plans for chunked encoding

Maxim Dounin 1501 November 23, 2012 03:46PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 154
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