diff options
| author | Joe Gregorio <joe@bitworking.org> | 2009-12-25 23:48:14 -0500 |
|---|---|---|
| committer | Joe Gregorio <joe@bitworking.org> | 2009-12-25 23:48:14 -0500 |
| commit | ef25bf339253120b9aac741a68d4a7f97ca6d136 (patch) | |
| tree | 72d2d7d7676c415d160edddbc806793f43916cec /python2 | |
| parent | 6740949122279eb96de46b2840d1230c5a3c980f (diff) | |
| download | httplib2-ef25bf339253120b9aac741a68d4a7f97ca6d136.tar.gz | |
Fixed issue #77
Diffstat (limited to 'python2')
| -rwxr-xr-x | python2/httplib2test.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/python2/httplib2test.py b/python2/httplib2test.py index 3bfde31..2c132af 100755 --- a/python2/httplib2test.py +++ b/python2/httplib2test.py @@ -213,13 +213,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 = urlparse.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 = urlparse.urljoin(base, "304/test_etag.txt") |
