summaryrefslogtreecommitdiff
path: root/python3
diff options
context:
space:
mode:
authorJoe Gregorio <joe@bitworking.org>2009-12-25 23:48:14 -0500
committerJoe Gregorio <joe@bitworking.org>2009-12-25 23:48:14 -0500
commitef25bf339253120b9aac741a68d4a7f97ca6d136 (patch)
tree72d2d7d7676c415d160edddbc806793f43916cec /python3
parent6740949122279eb96de46b2840d1230c5a3c980f (diff)
downloadhttplib2-ef25bf339253120b9aac741a68d4a7f97ca6d136.tar.gz
Fixed issue #77
Diffstat (limited to 'python3')
-rwxr-xr-xpython3/httplib2test.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/python3/httplib2test.py b/python3/httplib2test.py
index 810e88a..46a850d 100755
--- a/python3/httplib2test.py
+++ b/python3/httplib2test.py
@@ -211,13 +211,6 @@ class HttpTest(unittest.TestCase):
self.assertEqual(response.fromcache, True)
self.assertEqual(response.status, 200)
- def testGetOnlyIfCachedCacheMissCache(self):
- # Test that can do a GET with cache and 'only-if-cached'
- uri = urllib.parse.urljoin(base, "304/test_etag.txt")
- (response, content) = self.http.request(uri, "GET", headers={'cache-control': 'only-if-cached'})
- self.assertEqual(response.fromcache, False)
- self.assertEqual(response.status, 504)
-
def testGetOnlyIfCachedCacheMiss(self):
# Test that can do a GET with no cache with 'only-if-cached'
uri = urllib.parse.urljoin(base, "304/test_etag.txt")