Re:HTTP static server one-liners
by tyingq on Saturday January 18, 2020 @11:59AM
(#22085459)
Oof. It wasn't handling binary files. Also fixed directory traversal, and you can optionally specify a content directory on the cmd line.
[ Parent
| on HN ]
Re:HTTP static server one-liners
by freedomben on Saturday January 18, 2020 @02:11PM
(#22086373)
You are a hero good sir or madam. Is this redistributable with attribution?
Heh. Sure...licensed under WTFPL. http://www.wtfpl.net/about/
Re:HTTP static server one-liners
by richard78459 on Monday January 20, 2020 @04:54AM
(#22097711)
Very clever command but be warned, the link is NSFW.