On 14.08.2006, at 14:24, Gustaf Neumann wrote:

Without looking into the code, i would assume that the simplest case
would be to distinguish between cases, where the content-length is
unknown and known.

unknown means: transformation or dynamic content.

for unknown cases i would omit in HTTP/1.0 the content-length and use
in HTTP/1.1 the chunked encoding

This also makes sense as it is most trivial to implement
(less work, more fun), and we basically already have it
that way (more or less).
The only trouble is the ton of error messages in the
test suite, as we alone cannot handle chunked encoding
as consumers! I yet have to see if [ns_http] can do that
(I don't think so).

Cheers,
Zoran






Reply via email to