Home
last modified time | relevance | path

Searched refs:handler_class (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/
Dssl_servers.py23 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)
Dtest_urllib2_localnet.py503 server = make_https_server(self, handler_class=handler, **kwargs)
Dtest_wsgiref.py252 server = make_server(socket_helper.HOST, 0, app, handler_class=WsgiHandler)
Dtest_urllib2.py1832 def opener_has_handler(self, opener, handler_class): argument
1833 self.assertTrue(any(h.__class__ == handler_class
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py147 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument
150 server = server_class((host, port), handler_class)
/external/python/cpython3/Lib/http/
Dserver.py1302 handler_class = CGIHTTPRequestHandler variable
1304 handler_class = SimpleHTTPRequestHandler variable
1321 HandlerClass=handler_class,
/external/python/cpython3/Doc/library/
Dhttp.server.rst31 def run(server_class=HTTPServer, handler_class=BaseHTTPRequestHandler):
33 httpd = server_class(server_address, handler_class)
Dwsgiref.rst286 .. 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