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

Http Content Expire and Content Length BUG in LIBWWW

From: Sinha, Raj (Raj) <rajsinha@avaya.com>
Date: Tue, 16 Sep 2003 10:33:21 -0400
Message-ID: <8CA1128D59AD27429985B397118CEDDF01208A89@nj7460avexu1.global.avaya.com>
To: "Richard Atterer" <richard@list03.atterer.net>
Cc: <www-lib@w3.org>

Can anyone please verify this

I set the HTTP Content Expiration in IIS 5.0 to "Expire Immediately".

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);

I checked with a trace and see that a correct value of HTTP content
length is being sent in the header.



Raj Sinha
Received on Tuesday, 16 September 2003 10:33:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC