Hacker News new | ask | show | jobs
by seraph787 5021 days ago
completely disagree. Want to create a quick file server to test a design or an html page in a browser? Yes you could use python SimpleHTTP but python is a dependency that not all times we have access too.
2 comments

Do you have OpenSSL? I assume you do. Look at the man page for s_server and gape in awe at the -www -WWW and -HTTP options.

The only catch is that you need to rig up a key, it being SSL and all. -nocert probably won't play nicely with your browser.

Simplehttp Does the trick well enough. It exists on all Linux and OSX we use. I think he is implying that these projects won't have an industrial use.