Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a5f967

Browse files
committed
Output served URL when running ssl_servers
1 parent 66c95c7 commit 4a5f967

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/ssl_servers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,6 @@ def cleanup():
184184
context.load_cert_chain(CERTFILE)
185185

186186
server = HTTPSServer(("", args.port), handler_class, context)
187+
if args.verbose:
188+
print("Listening on https://localhost:{0.port}".format(args))
187189
server.serve_forever(0.1)

0 commit comments

Comments
 (0)