Searched refs:handler_class (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | ssl_servers.py | 23 def __init__(self, server_address, handler_class, context): argument 24 _HTTPServer.__init__(self, server_address, handler_class) 122 def __init__(self, context, host=HOST, handler_class=None): argument 125 handler_class or RootedHTTPRequestHandler, 151 host=HOST, handler_class=None): argument 156 server = HTTPSServerThread(context, host, handler_class) 193 handler_class = StatsRequestHandler variable 195 handler_class = RootedHTTPRequestHandler variable 196 handler_class.root = os.getcwd() 206 server = HTTPSServer(("", args.port), handler_class, context)
|
D | test_urllib2_localnet.py | 503 server = make_https_server(self, handler_class=handler, **kwargs)
|
D | test_wsgiref.py | 252 server = make_server(socket_helper.HOST, 0, app, handler_class=WsgiHandler)
|
D | test_urllib2.py | 1832 def opener_has_handler(self, opener, handler_class): argument 1833 self.assertTrue(any(h.__class__ == handler_class
|
/external/python/cpython3/Lib/wsgiref/ |
D | simple_server.py | 147 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument 150 server = server_class((host, port), handler_class)
|
/external/python/cpython3/Lib/http/ |
D | server.py | 1302 handler_class = CGIHTTPRequestHandler variable 1304 handler_class = SimpleHTTPRequestHandler variable 1321 HandlerClass=handler_class,
|
/external/python/cpython3/Doc/library/ |
D | http.server.rst | 31 def run(server_class=HTTPServer, handler_class=BaseHTTPRequestHandler): 33 httpd = server_class(server_address, handler_class)
|
D | wsgiref.rst | 286 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle… 290 will process requests using the specified *handler_class*. *app* must be a WSGI 353 however, subclass this class and supply it as a *handler_class* to the
|