boot-http
boot-http copied to clipboard
A simple HTTP serve task for the Boot build tool
I'm working on a web app where we need to upgrade Jetty (and by extension, Ring) for security reasons. We use boot-http to serve the app locally for development, and...
Specifically, I need to serve `.wasm` files as application/wasm or WebAssembly.instantiateStreaming won't work. ring.util has [ext-mime-type](https://github.com/ring-clojure/ring/blob/master/ring-core/src/ring/util/mime_type.clj), but I can't figure out how to call it from boot-http.
Just a minor issue. Wrong logging of server port when on HTTPS which made me open the site with the wrong port number in the browser and confused me. That...
Added more information regarding how to properly pass in handlers. Hopefully this will help people avoid being confused by a NullPointerException when passing in a non-fully qualified namespaced symbol. I...
Hello @pandeiro! I have identified a problem with the concept of "serving from the fileset". In my app, I am shuffling things around for various reasons so something like the...
Right now the `:not-found` option expects a symbol that points to a Ring handler. This won't work if my response depends on some options set when starting the server. I...
If my `:not-found` handler function is written in my `build.boot` file then I will get the below error: ``` java.lang.Thread.run Thread.java: 745 java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617 java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1142 java.util.concurrent.FutureTask.run FutureTask.java:...
I thought, maybe mistakenly, that I could `serve` from a fileset with a simple: ``` (comp (serve) (watch) (cljs-repl) (reload) (version-file) (cljs :optimizations :none :source-map true :compiler-options {:source-map-timestamp true})) ```...
Plz ignore it.
Currently the resources handler (the default handler for the `serve` task) serves resources from the classpath. If these resources exist in the filesystem in a directory that is in Boot's...