does wrap-reload need to enforce a 1-arg function?
So this isn't strictly a ring fix, but aleph is pretty similar, and the only thing keeping one from using ring.middleware.reload with aleph is the arity of the function returned by wrap-reload (aleph ...
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 ...
Allow for a IFn to be passed back as the body object
I needed to be able to safely stream data out via a ring http server. The way I came up with was by having the rendering logic open the output stream and then pass it back to a callback function which ...
just found out that the ring-servlet is appending a newline to the request body when it updates the HttpServletResponse with a string. this newline triggered a bug on some of our really strict client libraries ...
Class loading issue causing resource-response to fail on some servlet containers
Ring currently uses the classloader that loaded java.lang.System in resource-response. This classloader doesn't necessarily have access to resources in the WAR, since it may well be higher in the classloader ...
0.2 Fixing an issue with response body as InputStream
When the response body is an InputStream that gets copied to the response's OutputStream, if the OutputStream gets broken (e.g., the client interrupts the transfer), the InputStream will not get closed ...
Fixing an issue with InputStream that represents response body not getting closed
When the response body is an InputStream that gets copied to the response's OutputStream, if the OutputStream gets broken (e.g., the client interrupts the transfer), the InputStream will not get closed ...
SessionStore and wrap-session documentation
I recently implemented a session store on top of Redis (https://github.com/paraseba/rrss), and I noticed some outdated and incomplete documentation for session store implementers. My English is not very ...
Consider allowing the handler to see response's output stream
I am working on a high-throughput RESTful web service that serves database records as JSON. The results are streamed to the client directly from the db to prevent unbounded heap growth. Ring currently ...