Home | History | Annotate | Download | only in testserver

Lines Matching refs:request

135     """Handles a single request.
140 request, client_address = self.get_request()
143 if self.verify_request(request, client_address):
145 self.process_request(request, client_address)
147 self.handle_error(request, client_address)
148 self.close_request(request)
213 def __init__(self, request, client_address, socket_server,
220 self, request, client_address, socket_server)
223 # Disable request logging to declutter test log output.
259 def __init__(self, request, client_address, socket_server):
315 BasePageHandler.__init__(self, request, client_address, socket_server,
332 """This request handler yields a page with the title set to the current
349 """This request handler yields a page with the title set to the current
366 """This request handler yields a page with the title set to the current
383 """This request handler yields a page with the title set to the current
400 """This request handler yields a page with the title set to the current
417 """This request handler yields a page with the title set to the current
434 """This request handler yields a page with the title set to the current
451 """This request handler yields a page with the title set to the current
468 """This request handler yields a page with the title set to the current
485 """This request handler yields a page with the title set to the current
503 """This request handler yields a page with the title set to the current
520 """This request handler yields a page with the title set to the current
539 """This request handler yields a page with the title set to the current
557 """This handler echoes back the value of a specific request header."""
560 """This function echoes back the value of a specific request header"""
566 """This function echoes back the value of the request header passed in."""
581 # request is subject to value of the request header being echoed.
592 """This function reads the body of the current HTTP request, handling
599 # Read the request body as chunks.
612 """This handler just echoes back the payload of the request, for testing
625 """This handler is like Echo, but sets the page title to the request."""
633 request = self.ReadRequestBody()
635 self.wfile.write(request)
641 about the request header & contents."""
654 '<h1>Request Body:</h1><pre>')
665 self.wfile.write('<h1>Request Headers:</h1><pre>%s</pre>' % self.headers)
757 # Consume a request body if present.
937 """Returns a nonce that's stable per request path for the server's lifetime.
957 A stale response is sent iff "stale" is present in the request path.
1163 """Sends a redirect to the CONNECT request for www.redirect.com. This
1179 """Sends a 401 to the CONNECT request for www.server-auth.com. This
1180 response doesn't make sense because the proxy server cannot request
1199 contents = "Your client has issued a malformed or illegal request."
1200 self.send_response(400) # bad request
1244 def __init__(self, request, client_address, sync_http_server):
1247 BasePageHandler.__init__(self, request, client_address,
1445 help='Specify that the client certificate request '
1450 'sent in the request.')
1469 'will rotate through them in at each request a '
1477 'token used for making the policy request.')