Make Jetty SSL Connector respect :host option
In ring.adapter.jetty/run-jetty, the :host option is used for the non-SSL Connector, but not for the SSL Connector. This means that the SSL Connector binds to 0.0.0.0 even if :host is set, which is unexpected ...
not idiomatic, but ring is executed by every request and response.
Session wrapper does not update the cookie after session expiry date is changed.
(ns ring-session-test.core) (use 'ring.middleware.session) (defn handler [{session :session uri :uri}] (let [res {:status 200 :headers {"Content-Type" "text/plain"} ...
Upgrade clj-stacktrace to 0.2.4
The ring-devel leiningen project includes a dependency on clj-stacktrace 0.2.2. Unfortunately, that version of clj-stacktrace is not compatible with recent versions of swank-closure (1.3.4 or newer). The ...
Tag all public functions with version metadata
Public functions should have {:added "1.0"} metadata to define which version they were added in.
wrap-file is better to be used with wrap-content-type
Wrap-file without wrap-content-type makes IE9 to ignore css files, because their content type is not set. What about making wrap-file to use wrap-content-file or at least adding the warning to wrap-file ...
Is the correct way to destroy a session just sending back: {:session {}} or {:session nil} This is not documented in the Session wiki page.
File middleware should take options map
The wrap-file middleware currently takes a string argument, but it should take an option map in order to be consistent with the other core middleware. In order to maintain backward compatibility, and ...
wrap-keyword-params doesn't work with wrap-multipart-params
It seems that the keyword-params middleware doesn't accept a map with keys that are keywords instead of strings. Multipart-params produces such a map on file upload. The input's name is passed ...