Output served URL when running ssl_servers

This commit is contained in:
Antoine Pitrou 2010-11-05 20:26:59 +00:00
parent 66c95c745b
commit 4a5f9677f3
1 changed files with 2 additions and 0 deletions

View File

@ -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)