Changing libwww's cache

I've been using libwww to implement clients in a data system which uses
HTTP. We're starting to use the cache that comes with libwww quite a bit
and a question has come up. 

When a response contains no Expires header but does contain a
Last-Modified header, the cache uses a heuristic to compute the
expiration time. That's fine but in using the heuristic it ignores the
Default Expiration time.

Is there some reason this was handled this way (i.e., am I missing
something about the default expiration time versus the heuristic
expiration time calculated using the last modified time)?

Changing the code to use the default expiration looks simple but I'd
rather not force the project to use a special version of the library
(and changing the behavior of the cache in this respect outside of
changing the code looks hard, although I may have missed something
there...).

Thanks,
James
-- 
__________________________________________________________________________
James Gallagher		         The Distributed Oceanographic Data System
jgallagher@gso.uri.edu              
http://unidata.ucar.edu/packages/dods
Voice: 541.757.7992					 Fax: 541.758.3254

Received on Wednesday, 2 May 2001 19:39:06 UTC