[New-bugs-announce] [issue24902] http.server: on startup, show host/port as URL

Felix Kaiser report at bugs.python.org
Thu Aug 20 14:43:34 CEST 2015


New submission from Felix Kaiser:

http.server: on startup, show host/port as URL

Old:

% python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...

New:

% ./python -m http.server  
Serving http://0.0.0.0:8000/ ...

This is useful because (modern) terminals will auto-detect URLs and make them clickable, so printing an URL makes it easier to navigate the browser there.

----------
components: Library (Lib)
files: http_server__on_startup_show_host_and_port_as_url.patch
keywords: patch
messages: 248882
nosy: fxkr
priority: normal
severity: normal
status: open
title: http.server: on startup, show host/port as URL
type: enhancement
Added file: http://bugs.python.org/file40214/http_server__on_startup_show_host_and_port_as_url.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24902>
_______________________________________


More information about the New-bugs-announce mailing list