web/test/unittest_http.py
changeset 9736 e0b3fcf1c205
parent 9648 15680eb67168
child 10849 79066409fdcf
equal deleted inserted replaced
9730:8347e6d613c9 9736:e0b3fcf1c205
   225         hin  = [('if-none-match', 'babar'),
   225         hin  = [('if-none-match', 'babar'),
   226                ]
   226                ]
   227         hout = [('etag', 'rhino/really-not-babar'),
   227         hout = [('etag', 'rhino/really-not-babar'),
   228                ]
   228                ]
   229         req = _test_cache(hin, hout, method='HEAD')
   229         req = _test_cache(hin, hout, method='HEAD')
   230         self.assertCache(200, req.status_out, 'modifier HEAD verb')
   230         self.assertCache(None, req.status_out, 'modifier HEAD verb')
   231         # not modified
   231         # not modified
   232         hin  = [('if-none-match', 'babar'),
   232         hin  = [('if-none-match', 'babar'),
   233                ]
   233                ]
   234         hout = [('etag', 'babar'),
   234         hout = [('etag', 'babar'),
   235                ]
   235                ]