diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:19:31 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:19:31 -0700 |
commit | 77245469d4fbd400c6702cde35f9d9002540663e (patch) | |
tree | 5bbc97fd683f8f7354204d24be7974b268b19531 /dummyserver | |
parent | 0c183b9d52b45bac22a2ff9db0e6348b655f4ab2 (diff) | |
download | python-urllib3-77245469d4fbd400c6702cde35f9d9002540663e.tar python-urllib3-77245469d4fbd400c6702cde35f9d9002540663e.tar.gz |
Imported Upstream version 1.3
Diffstat (limited to 'dummyserver')
-rwxr-xr-x | dummyserver/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dummyserver/server.py b/dummyserver/server.py index 529850f..6c0943c 100755 --- a/dummyserver/server.py +++ b/dummyserver/server.py @@ -83,7 +83,7 @@ class TornadoServerThread(threading.Thread): else: http_server = tornado.httpserver.HTTPServer(container) - http_server.listen(self.port) + http_server.listen(self.port, address=self.host) return http_server def run(self): @@ -106,7 +106,7 @@ if __name__ == '__main__': if len(sys.argv) > 1: url = sys.argv[1] - print("Starting WGI server at: %s" % url) + print("Starting WSGI server at: %s" % url) scheme, host, port = get_host(url) t = TornadoServerThread(scheme=scheme, host=host, port=port) |