Lines Matching refs:has_header
123 self.assertTrue(req.has_header("Spam-eggs"))
129 self.assertFalse(req.has_header("Not-there"))
134 self.assertFalse(req.has_header("Spam-eggs"))
137 self.assertTrue(req.has_header("Unredirected-spam"))
140 self.assertFalse(req.has_header("Unredirected-spam"))
520 if req.has_header('Authorization'):
938 self.assertFalse(newreq.has_header('Content-length'))
944 self.assertFalse(newreq.has_header("Transfer-encoding"))
959 self.assertFalse(newreq.has_header('Content-length'))
965 self.assertFalse(newreq.has_header("Transfer-encoding"))
1017 self.assertFalse(req.has_header("Content-length"))
1279 self.assertFalse(hh.req.has_header("Cookie"))
1629 self.assertFalse(http_handler.requests[0].has_header(auth_header))
1643 self.assertFalse(http_handler.requests[0].has_header(auth_header))