Home
last modified time | relevance | path

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

/third_party/python/Lib/wsgiref/
Dsimple_server.py150 def make_server( function
160 with make_server('', 8000, demo_app) as httpd:
/third_party/python/Lib/test/
Dtest_docxmlrpc.py22 def make_server(): function
72 self.serv = make_server()
Dtest_wsgiref.py13 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)
Dtest_socketserver.py104 def make_server(self, addr, svrcls, hdlrbase): member in SocketServerTest
127 server = self.make_server(self.pickaddr(svrcls.address_family),
Dtest_httplib.py1689 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)
Dtest_nntplib.py450 self.make_server()
456 def make_server(self, *args, **kwargs): member in MockedNNTPTestsMixin
466 self.make_server(readermode=True)
Dtest_imaplib.py588 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/
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 …]
/third_party/python/Tools/scripts/
Dserve.py30 httpd = simple_server.make_server('', port, app)
/third_party/python/Doc/whatsnew/
D2.5.rst2059 httpd = simple_server.make_server(host, port, wsgi_app)