X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;ds=sidebyside;f=sima%2Flib%2Fhttp.py;h=8c6dab1bde94a1d9cea5d7fd74eaa13a133deb9d;hb=bec6761572dc942c0772f955b6a84273e2754c6e;hp=10fae9c475204852b73eabe039447d4d5d4497e4;hpb=d4e415f6ca4516f2403e582a05facda72db3c322;p=mpd-sima.git diff --git a/sima/lib/http.py b/sima/lib/http.py index 10fae9c..8c6dab1 100644 --- a/sima/lib/http.py +++ b/sima/lib/http.py @@ -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.