Home
last modified time | relevance | path

Searched refs:handler_class (Results 1 – 17 of 17) 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_nntplib.py374 handler_class = None variable in MockedNNTPTestsMixin
385 self.handler = self.handler_class()
1194 handler_class = NNTPv1Handler variable in NNTPv1Tests
1207 handler_class = NNTPv2Handler variable in NNTPv2Tests
1230 handler_class = CapsAfterLoginNNTPv2Handler variable in CapsAfterLoginNNTPv2Tests
1244 handler_class = ModeSwitchingNNTPv2Handler variable in SendReaderNNTPv2Tests
1432 self, handler_class, argument
1446 handler = handler_class()
Dtest_urllib2_localnet.py491 server = make_https_server(self, handler_class=handler, **kwargs)
Dtest_wsgiref.py266 server = make_server(support.HOST, 0, app, handler_class=WsgiHandler)
Dtest_urllib2.py1696 def opener_has_handler(self, opener, handler_class): argument
1697 self.assertTrue(any(h.__class__ == handler_class
/external/python/cpython2/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.py1304 def opener_has_handler(self, opener, handler_class): argument
1306 if h.__class__ == handler_class:
Dtest_urllib2_localnet.py486 server = make_https_server(self, handler_class=handler, **kwargs)
/external/autotest/client/cros/faft/utils/
Dcommon.py12 def __init__(self, handler_class, *args, **kargs): argument
13 self._handler_class = handler_class
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py148 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument
151 server = server_class((host, port), handler_class)
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py150 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument
153 server = server_class((host, port), handler_class)
/external/python/cpython2/Doc/library/
Dbasehttpserver.rst36 handler_class=BaseHTTPServer.BaseHTTPRequestHandler):
38 httpd = server_class(server_address, handler_class)
285 handler_class=BaseHTTPServer.BaseHTTPRequestHandler):
292 httpd = server_class(server_address, handler_class)
Dwsgiref.rst274 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle…
278 will process requests using the specified *handler_class*. *app* must be a WSGI
341 however, subclass this class and supply it as a *handler_class* to the
/external/python/cpython3/Lib/http/
Dserver.py1208 handler_class = CGIHTTPRequestHandler variable
1210 handler_class = SimpleHTTPRequestHandler variable
1211 test(HandlerClass=handler_class, port=args.port, bind=args.bind)
/external/python/cpython3/Doc/library/
Dhttp.server.rst23 def run(server_class=HTTPServer, handler_class=BaseHTTPRequestHandler):
25 httpd = server_class(server_address, handler_class)
Dwsgiref.rst277 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle…
281 will process requests using the specified *handler_class*. *app* must be a WSGI
344 however, subclass this class and supply it as a *handler_class* to the
/external/curl/tests/python_dependencies/impacket/
Dsmbserver.py3568 def __init__(self, server_address, handler_class=SMBSERVERHandler, config_parser = None): argument
3570 SocketServer.TCPServer.__init__(self, server_address, handler_class)