W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2003

Re: Http Content Expire and Content Length BUG in LIBWWW

From: Richard Atterer <richard@list03.atterer.net>
Date: Tue, 16 Sep 2003 19:01:44 +0200
To: "Sinha, Raj (Raj)" <rajsinha@avaya.com>
Cc: www-lib@w3.org
Message-ID: <20030916170144.GA2295@nenya.lan>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:43 GMT