Re: Http Content Expire and Content Length BUG in LIBWWW

On Tue, Sep 16, 2003 at 10:33:21AM -0400, Sinha, Raj (Raj) wrote:
> However having done that I see that the Libwww gives me a value of -1 for
> content length for the resource.
> 	HTParentAnchor * entity = HTRequest_entityAnchor(me->request);
> 	content_len = HTAnchor_length(entity);

Have you tried HTResponse_length(HTRequest_response(me->request)) ?
(I see the same problem with HTAnchor_length().)

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key:
  | \/¯|  http://atterer.net  |  0x888354F7
  ¯ '` ¯

Received on Tuesday, 16 September 2003 13:06:52 UTC