Allow custom options to wrap-file
I ran into trouble with a web app where index.md was served as an index file. I discovered two things. First, the options for file-response are hard-coded into wrap-file. Second, find-index-file accepts ...
wrap-reload Not Reloading Files
I am wrapping my response handler with wrap-reload but when I change one of my route files it does not reload the code as a result of it. Not sure if this is an issue with ns-tracker or wrap-reload. @weavejester ...
At https://github.com/mmcgrana/ring/blob/master/ring-core/src/ring/middleware/session/cookie.clj#L92 should there be a (binding [read-eval false] ) ? Otherwise, it seems -- suppose some other vulnerability ...
In ring-core 1.2.1, I'm getting this explosion: Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, compiling:(ring/middleware/multipart_params.clj:39:5) ...
wrap-session middleware doesn't url-decode the cookie before using it.
I faced a weird bug today wherein the browser was sending the cookie string back to the server after url-encoding it and wrap-session tried decrypting the cookie without decoding the encoded cookie. I ...
Add a few type hints to avoid reflection
I have added a couple of type hints to ring.servlet & ring.core to fix reflection warnings. All tests pass.
The middleware wrap-head makes Content-Length always be 0
Because it sets :body to nil, and :body is used to set Content-Length.
Automatic code reloading is one step behind
In wrap-reload after the new code is loaded, the old handler is still used to serve the current request meaning that to see any code changes you have to refresh the page twice which is seriously annoying. ...
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 ...
Fix for wrap-nested-params and multi-valued parameters without '[]'
(sorry about the previous pull request... I missed a commit somehow) I recently had to use a multiple select box on an HTML form, but didn't end the parameter name with "[]". wrap-params ...