httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: cvs commit: apr/network_io/os2 sendrecv.c
Date Wed, 07 Mar 2001 15:55:19 GMT

> >Mod_include is working correctly, as is the content-length filter, in all
> >of my tests.  The only time I don't get chunked responses for the
> >content-length, is if I don't put "Transfer-Encoding: chunked" in the
> >request headers.
> That sounds wrong to me. The request shouldn't have to specify
> "Transfer-Encoding: chunked" on a 1.1 request. The fact that the HTTP
> version is 1.1 implies that the client can handle chunking: "All HTTP/1.1
> applications MUST be able to receive and decode the "chunked" transfer
> coding"
> Although I'm no protocol expert, my reading of rfc2068 leads me to believe
> that such a request header would be used to indicate that the request body
> is chunked, not that it can accept/wants a chunked response.
> The test client I'm using does not send a Transfer-Encoding header and
> Apache 1.3 quite happily sends it a chunked body.

You are most likely correct.  I'll review the logic in
ap_content_length_filter again.  This is almost 100% the bug.  I'll commit
a fix later today if it is obvious.


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message