mirror of https://github.com/python/cpython
Output served URL when running ssl_servers
This commit is contained in:
parent
66c95c745b
commit
4a5f9677f3
|
@ -184,4 +184,6 @@ if __name__ == "__main__":
|
|||
context.load_cert_chain(CERTFILE)
|
||||
|
||||
server = HTTPSServer(("", args.port), handler_class, context)
|
||||
if args.verbose:
|
||||
print("Listening on https://localhost:{0.port}".format(args))
|
||||
server.serve_forever(0.1)
|
||||
|
|
Loading…
Reference in New Issue