|
I've got an application I use to keep local copies of web resources up-to-date, which coincidentally I recently wrote up on my site (http://www.alleged.org.uk/pdc/2006/02/04.html). It handles ETag and Last-Modified, but does not (yet) examine Cache-Control and Expires headers. From the sounds of things I ought to be able to throw most of it away and use httplib2 instead, which will save me the trouble of finishing off those missing features... :-)
Having an HTTP client library that groks caching should be seen as an essential system service
these days. Python's runtime is not alone in offering a standard solution that leaves caching and redirection as an exercise for the caller.
|