Home
last modified time | relevance | path

Searched refs:make_server (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_docxmlrpc.py22 def make_server(): function
62 self.serv = make_server()
Dtest_imaplib.py105 def make_server(self, addr, hdlr): member in BaseThreadedNetworkedTests
143 server, thread = self.make_server((support.HOST, 0), hdlr)
Dtest_socketserver.py132 def make_server(self, addr, svrcls, hdlrbase): member in SocketServerTest
151 server = self.make_server(self.pickaddr(svrcls.address_family),
Dtest_httplib.py816 def make_server(self, certfile): member in HTTPSTest
888 server = self.make_server(CERT_localhost)
897 server = self.make_server(CERT_localhost)
909 server = self.make_server(CERT_fakehostname)
Dtest_wsgiref.py8 from wsgiref.simple_server import make_server
50 server = make_server("", 80, app, MockServer, MockHandler)
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py147 def make_server( function
157 httpd = make_server('', 8000, demo_app)
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py150 def make_server( function
160 with make_server('', 8000, demo_app) as httpd:
/external/python/cpython3/Lib/test/
Dtest_docxmlrpc.py22 def make_server(): function
72 self.serv = make_server()
Dtest_wsgiref.py11 from wsgiref.simple_server import make_server
69 server = make_server("", 80, app, MockServer, MockHandler)
266 server = make_server(support.HOST, 0, app, handler_class=WsgiHandler)
Dtest_socketserver.py103 def make_server(self, addr, svrcls, hdlrbase): member in SocketServerTest
126 server = self.make_server(self.pickaddr(svrcls.address_family),
Dtest_nntplib.py409 self.make_server()
415 def make_server(self, *args, **kwargs): member in MockedNNTPTestsMixin
425 self.make_server(readermode=True)
Dtest_httplib.py1604 def make_server(self, certfile): member in HTTPSTest
1698 server = self.make_server(CERT_localhost)
1707 server = self.make_server(CERT_localhost)
1720 server = self.make_server(CERT_fakehostname)
Dtest_imaplib.py537 def make_server(self, addr, hdlr): member in ThreadedNetworkedTests
580 server, thread = self.make_server((support.HOST, 0), hdlr)
/external/python/cpython2/Tools/scripts/
Dserve.py30 httpd = simple_server.make_server('', port, app)
/external/python/cpython3/Tools/scripts/
Dserve.py30 httpd = simple_server.make_server('', port, app)
/external/python/cpython2/Doc/library/
Dwsgiref.rst120 from wsgiref.simple_server import make_server
136 httpd = make_server('', 8000, simple_app)
274 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle…
283 from wsgiref.simple_server import make_server, demo_app
285 httpd = make_server('', 8000, demo_app)
311 You do not normally need to call this constructor, as the :func:`make_server`
330 :meth:`set_app` is normally called by :func:`make_server`, and the
342 :func:`make_server` function. Some possibly relevant methods for overriding in
416 from wsgiref.simple_server import make_server
432 httpd = make_server('', 8000, validator_app)
[all …]
/external/python/cpython3/Doc/library/
Dwsgiref.rst120 from wsgiref.simple_server import make_server
136 with make_server('', 8000, simple_app) as httpd:
279 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle…
288 from wsgiref.simple_server import make_server, demo_app
290 with make_server('', 8000, demo_app) as httpd:
316 You do not normally need to call this constructor, as the :func:`make_server`
335 :meth:`set_app` is normally called by :func:`make_server`, and the
347 :func:`make_server` function. Some possibly relevant methods for overriding in
421 from wsgiref.simple_server import make_server
437 with make_server('', 8000, validator_app) as httpd:
[all …]
/external/python/cpython2/Doc/whatsnew/
D2.5.rst2058 httpd = simple_server.make_server(host, port, wsgi_app)
/external/python/cpython3/Doc/whatsnew/
D2.5.rst2059 httpd = simple_server.make_server(host, port, wsgi_app)