Re: libwww and chunked encoding

Non 2xx status code documents are sent down the debug stream and not the
output stream, see

    http://www.w3.org/Library/src/HTReq.html

under the "Default Debug Stream" section

The code that does this is in

    http://www.w3.org/Library/src/HTTP.c

That is, try and register your chunk stream as the debug stream too.

Henrik Frystyk Nielsen,
mailto:frystyk@microsoft.com

> I'm trying to use libwww to load URL to Chunk.
> The web server which I'm using is Apache 1.3.9
> I works fine when I request a URL which points to a file.
> When URL points to cgi script in HTNet callback I receive empty
> chunk buffer also return code is OK. I tried to use PROTO trace level.
> It shows the response body in it. There is some difference in response
> headers. The response headers contain "Transfer-Encoding: chunked"

Received on Saturday, 13 November 1999 12:07:21 UTC