Re:Show HN: Serve – like python -m SimpleHTTPServer, but wit...
by Socketubs on Monday May 02, 2016 @10:44AM
(#11611748)
It's like `python3 -m http.server` but in a language that is rarely pre-installed on systems with an external program that has two external dependencies.
[ Parent
| on HN ]
Re:Show HN: Serve – like python -m SimpleHTTPServer, but wit...
by rhardih on Monday May 02, 2016 @11:20AM
(#11612084)
I couldn't fit all that in the title though. :)
Joking aside, you are correct. Go shipping pre-installed is a yet to be seen nice-to-have on most systems.
Re:Show HN: Serve – like python -m SimpleHTTPServer, but wit...
by WorldMaker on Monday May 02, 2016 @11:05AM
(#11611915)
Or `http-server` from `npm install -g http-server` in a language that frontend developers and increasing numbers of backend developers actually work with.
That said, HTTP/2 support might be nice to have in Python's http.server or Node's http-server. Albeit you probably shouldn't use http.server nor http-server for production purposes, so it isn't essential.