[hunchentoot-devel] chunked encoding for input

Edi Weitz edi at agharta.de
Fri Jun 27 23:46:27 UTC 2008


On Fri, 27 Jun 2008 16:34:44 -0700, Cyrus Harmon <ch-tbnl at bobobeach.com> wrote:

> The following patch fixes the case where one sends chunked data to a
> hunchentoot server with, say, a PUT request. We weren't paying
> attention to the transfer-encoding in get-post-data.

Thanks for catching that.  This is essentially what is already done in
process-request, but due to the refactoring Hans and I did it happens
too late at that point.

I think get-post-data is not the right place for this, though.
Switching chunking on or off should happen "one level further up" so
to say.  I'll try to fix this over the weekend.

> Also, we should support looking for both "chunked" and "Chunked", so
> I use string-equal instead of equalp here.

equalp already does that... :)

Thanks,
Edi.



More information about the Tbnl-devel mailing list