Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 405 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 405 Bytes

Serve static files.

HTML files are only served without their extension (/foo/bar.html will only be served at /foo/bar).

This is a single-threaded server. That means a denial-of-service attack is trivial; nc localhost 3000 does nicely.

This server is not secure. It is not battle-tested. (It is barely even tested.) It does not care about HTTP request headers. It is not spec-compliant.