[Catalog-sig] Getting a last modified date for the trove classifiers

Tarek Ziadé ziade.tarek at gmail.com
Tue Oct 19 21:21:36 CEST 2010


Hello,

We are keeping a copy of
http://pypi.python.org/pypi?:action=list_classifiers in distutils2 for
our browsing needs and we would like to update that cache only if it
has changed. Instead of doing a custom and inefficient diff in the
client code, could we add at PyPI a Last-Modified or an ETag header
for that page, and check for a If-Last-Modified or Etag on requests ?
and return a 304 in case the content has not changed

If Martin agrees I can write the patch

Tarek

-- 
Tarek Ziadé | http://ziade.org


More information about the Catalog-SIG mailing list