Nick Kew <nick@xxxxxxxxxxxx> wrote on 09/11/2009 09:55:25 AM:
> Chris Cross wrote:
> > Hi,
> > I haven't been able to find any documentation on how (or if) CGI handles
> > Transfer-Encoding: chunked. It looks to me like Apache is eating the
> > chunk size line, as the first byte of data I read from stdin is the data
> > I'm posting. I can clearly see the chunk size line preceding the data in
> > a packet capture of the http post.
> >
> > Does Apache CGI support Transfer-Encoding: chunked? Is there
> > documentation of how it works?
>
> This is not an Apache question. The CGI spec doesn't deal with
> chunked data, so any HTTP/1.1 implementation of CGI (Apache included)
> has to de-chunk any chunked input data on behalf of the script.
>
> --
> Nick Kew
Thanks for the quick reply Nick. The CONTENT_LENGTH env variable is not being set when I post with Transfer-Encoding: chunked. Does that mean that Apache doesn't support de-chunking for CGI?
Chris