Searched refs:make_server (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Lib/wsgiref/ |
D | simple_server.py | 150 def make_server( function 160 with make_server('', 8000, demo_app) as httpd:
|
/third_party/python/Lib/test/ |
D | test_docxmlrpc.py | 22 def make_server(): function 72 self.serv = make_server()
|
D | test_wsgiref.py | 13 from wsgiref.simple_server import make_server 71 server = make_server("", 80, app, MockServer, MockHandler) 268 server = make_server(socket_helper.HOST, 0, app, handler_class=WsgiHandler)
|
D | test_socketserver.py | 104 def make_server(self, addr, svrcls, hdlrbase): member in SocketServerTest 127 server = self.make_server(self.pickaddr(svrcls.address_family),
|
D | test_httplib.py | 1689 def make_server(self, certfile): member in HTTPSTest 1783 server = self.make_server(CERT_localhost) 1792 server = self.make_server(CERT_localhost) 1805 server = self.make_server(CERT_fakehostname)
|
D | test_nntplib.py | 450 self.make_server() 456 def make_server(self, *args, **kwargs): member in MockedNNTPTestsMixin 466 self.make_server(readermode=True)
|
D | test_imaplib.py | 588 def make_server(self, addr, hdlr): member in ThreadedNetworkedTests 631 server, thread = self.make_server((socket_helper.HOST, 0), hdlr)
|
/third_party/python/Doc/library/ |
D | wsgiref.rst | 120 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 …]
|
/third_party/python/Tools/scripts/ |
D | serve.py | 30 httpd = simple_server.make_server('', port, app)
|
/third_party/python/Doc/whatsnew/ |
D | 2.5.rst | 2059 httpd = simple_server.make_server(host, port, wsgi_app)
|