Re: [Re: libwww and chunked encoding]

Thanks,

I found the problem. I didn't call HTConverterInit() and
HTTransferEncoderInit().

Another problem still exists.
HTRequest_bytesRead() returns incorrect value in case of chunked encoding.

"Henrik Frystyk Nielsen" <frystyk@microsoft.com> wrote:
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"



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

Received on Tuesday, 16 November 1999 14:04:03 UTC