Lines Matching refs:MockHTTPHandler
488 class MockHTTPHandler(urllib.request.BaseHandler):
1293 hh = MockHTTPHandler(302, "Location: http://www.cracker.com/\r\n\r\n")
1303 hh = MockHTTPHandler(302, 'Location: ' + redirected_url)
1488 http_handler = MockHTTPHandler(401, body)
1548 http_handler = MockHTTPHandler(
1592 http_handler = MockHTTPHandler(
1612 http_handler = MockHTTPHandler(
1622 http_handler = MockHTTPHandler(
1709 http_handler = MockHTTPHandler(
1725 # After getting 200 from MockHTTPHandler