From 5a6284ceb31453ea77cd77326d0999b9671e24ef Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Sat, 4 Sep 2010 02:56:50 -0300 Subject: [PATCH] Added TODO: --- scrapy/contrib/downloadermiddleware/httpcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/contrib/downloadermiddleware/httpcache.py b/scrapy/contrib/downloadermiddleware/httpcache.py index 46beba2dd..f2a45256f 100644 --- a/scrapy/contrib/downloadermiddleware/httpcache.py +++ b/scrapy/contrib/downloadermiddleware/httpcache.py @@ -79,7 +79,7 @@ class FilesystemCacheStorage(object): body = f.read() with open(join(rpath, 'response_headers'), 'rb') as f: rawheaders = f.read() - # We failback to metadata['url'] to support old generated caches ' should be removed for Scrapy 0.11 + # We failback to metadata['url'] to support old generated caches. TODO: remove for Scrapy 0.11 url = metadata.get('response_url') or metadata['url'] status = metadata['status'] headers = Headers(headers_raw_to_dict(rawheaders))