Home
last modified time | relevance | path

Searched refs:request_handler (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_urllib2_localnet.py61 def __init__(self, request_handler):
65 request_handler.protocol_version = "HTTP/1.0"
67 request_handler)
146 def _return_auth_challenge(self, request_handler):
147 request_handler.send_response(407, "Proxy Authentication Required")
148 request_handler.send_header("Content-Type", "text/html")
149 request_handler.send_header(
156 #request_handler.send_header('Connection', 'close')
157 request_handler.end_headers()
158 request_handler
[all...]
H A Dtest_httpservers.py48 def __init__(self, test_object, request_handler):
50 self.request_handler = request_handler
54 self.server = HTTPServer(('localhost', 0), self.request_handler)
73 self.thread = TestServerThread(self, self.request_handler)
90 class request_handler(NoLogRequestHandler, BaseHTTPRequestHandler): class in BaseHTTPServerTestCase
318 class request_handler(BaseHTTPRequestHandler): class in RequestHandlerLoggingTestCase
354 class request_handler(NoLogRequestHandler, SimpleHTTPRequestHandler): class in SimpleHTTPServerTestCase
701 class request_handler(NoLogRequestHandler, CGIHTTPRequestHandler): class in CGIHTTPServerTestCase
/third_party/python/Lib/wsgiref/
H A Dsimple_server.py34 self.request_handler.log_request(
133 handler.request_handler = self # backpointer for logging

Completed in 4 milliseconds