Lines Matching refs:request
83 request in a separate process"""
88 request in a separate process"""
93 def __init__(self, request, client_address, socket_server):
148 BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, request,
175 """This request handler kills the server, for use when we're done"
194 """This request handler yields a page with the title set to the current
211 """This request handler yields a page with the title set to the current
228 """This request handler yields a page with the title set to the current
245 """This request handler yields a page with the title set to the current
262 """This request handler yields a page with the title set to the current
279 """This request handler yields a page with the title set to the current
296 """This request handler yields a page with the title set to the current
313 """This request handler yields a page with the title set to the current
330 """This request handler yields a page with the title set to the current
347 """This request handler yields a page with the title set to the current
365 """This request handler yields a page with the title set to the current
382 """This request handler yields a page with the title set to the current
401 """This request handler yields a page with the title set to the current
419 """This handler echoes back the value of a specific request header."""
425 """This handler echoes back the value of a specific request header."""
431 """treats this request as a new request and does not cache it."""
435 """This function echoes back the value of the request header passed in."""
447 # request is subject to value of the request header being echoed.
458 """This handler just echoes back the payload of the request, for testing
468 request = self.rfile.read(length)
469 self.wfile.write(request)
473 """This is handler dumps the content of POST/PUT request to a disk file
487 request = self.rfile.read(length)
489 f.write(request);
499 """This handler is like Echo, but sets the page title to the request."""
508 request = self.rfile.read(length)
510 self.wfile.write(request)
516 about the request header & contents."""
529 '<h1>Request Body:</h1><pre>')
541 self.wfile.write('<h1>Request Headers:</h1><pre>%s</pre>' % self.headers)
609 # Consume a request body if present.
824 # the request URL into this, but we don't care for testing.
1006 """Sends a redirect to the CONNECT request for www.redirect.com. This
1022 """Sends a 401 to the CONNECT request for www.server-auth.com. This
1023 response doesn't make sense because the proxy server cannot request
1042 contents = "Your client has issued a malformed or illegal request."
1043 self.send_response(400) # bad request
1183 help='Serve each request in a separate process.')