nasus
nasus copied to clipboard
Zero-configuration command-line async HTTP files server in Clojure. Like Python's SimpleHTTPServer but scalable.
``` clj -m http.server --cert --key ``` Should run a server with TLS.
It should not be the problem for error responses with no body content... But overall it would be nice to find a more correct way of doing this.
how about some way to import this from clojars and run it plugging a rendering module to beautify the listing with hiccup or templating? cheers
The idea here is to be able to run the server as follows: ``` clj -m http.server --exclude "target/*" --exclude "*.cpp" ``` I'm not sure we need to support the...
The simplest test suite should contain the directory with files and at least a single nested directory. Server runner should be refactored into a separate function, so the test might...