compojure
compojure copied to clipboard
A concise routing library for Ring/Clojure
This provides access to the route prefix as a companion to the existing `:compojure/route` data allowing the full route to be reconstructed. Since the `context` macro only accepts a path...
When extracting a route path using `(:compojure/route req)` we can retrieve the raw unparsed path. So for example if my path is `/hello/:name` and a user hits `/hello/world`, I can...
I don't use Compojure on a regular basis (sometimes with years in between), so I always hit the wiki to find out how it is used. The basics are really...
When dealing with an optional boolean parameter, string literals like #{"1" "y" "yes" "on" "true"}) treated as true while #{"0" "n" "no" "off" "false"}) as false and nil for others....
Windows 10, Windows Subsystem for Linux. I run "lein ring server" and it fails because i don't have an DISPLAY set up to launch a default browser. Is there a...
We have a large ring/compojure application with lots of api routes. We are trying to use ring's async handlers but we eventually run out of stack if a matching path...
(route/files "/raw" {:root "/"}) ...this works for me with 1.5.1 but returns "not found" for the same path in 1.5.2.