equal
deleted
inserted
replaced
19 req.headers_out.addRawHeader(key, str(value)) |
19 req.headers_out.addRawHeader(key, str(value)) |
20 # process |
20 # process |
21 status = None |
21 status = None |
22 try: |
22 try: |
23 req.validate_cache() |
23 req.validate_cache() |
24 except StatusResponse, ex: |
24 except StatusResponse as ex: |
25 status = ex.status |
25 status = ex.status |
26 return status, req |
26 return status, req |
27 |
27 |
28 class HTTPCache(TestCase): |
28 class HTTPCache(TestCase): |
29 """Check that the http cache logiac work as expected |
29 """Check that the http cache logiac work as expected |