News for hackers. Stuff that matters.
Re:static-server: an HTTP server in Go for static content by abhishekjha on Sunday September 17, 2023 @12:24AM (#37541512)
Thank you for the response. It looks interesting.

>I needed a quick and easy web server

I am trying to reason with what I know, but wouldn't something like "python -m http.server 9000" suffice? Or nginx? These are battle tested and python is there on most platforms.

Or is there more depth to this specific web server that others don't have?

Re:static-server: an HTTP server in Go for static content by mholt on Sunday September 17, 2023 @01:18AM (#37541762)
No, because python's simple HTTP server isn't production ready (doesn't support Range requests last I checked, and quite a few other limitations). And nginx is not "quick and easy" by any means, doesn't grant me the security of memory safety (it was vulnerable to Heartbleed, for example -- I wrote Caddy shortly after Heartbleed), and doesn't give me automatic HTTPS.

And Caddy is very well battle-tested too, btw. ;)