]> kaliko git repositories - mpd-sima.git/blobdiff - sima/lib/http.py
Sphinx documentation and API cleanup
[mpd-sima.git] / sima / lib / http.py
index 10fae9c475204852b73eabe039447d4d5d4497e4..8c6dab1bde94a1d9cea5d7fd74eaa13a133deb9d 100644 (file)
@@ -190,12 +190,6 @@ class CacheController(object):
         # return the original handler
         return False
 
-    def add_headers(self, url):
-        resp = self.cache.get(url)
-        if resp and 'etag' in resp.headers:
-            return {'If-None-Match': resp.headers['etag']}
-        return {}
-
     def cache_response(self, request, resp):
         """
         Algorithm for caching requests.