Hacker News new | ask | show | jobs
by athrun 3909 days ago
I think the main advantage here is that it's a one-binary-file webserver. Very simple to install and ideal for file sharing among coworkers or similar situations. A modern equivalent of "python -m SimpleHTTPServer".
1 comments

Yes, "python -m SimpleHTTPServer" is too slow.
Too slow for what?
'python -m SimpleHTTPServer' is actually fairly terrible if you try to use it to share a file amongst coworkers. Try it and you'll see, downloads will actually fail.

It also freaks out if the root dir is blown away, which can be quite common if you're trying to use it with a static site generator.

'python -m SimpleHTTPServer' is great for serving files to yourself but that's about it.