run-jetty :configurator set to run last
This change allows for replacing the default proxy-handler with a custom handler; the benefit of this (for us) was to allow for logging custom timing and request information from the handler in a way that ...
Support clj-time Intervals/DateTime for :max-age and :expires
This fixes #55. Each commit appears with a header and body description for what I've done. Here's a quick summary: - clj-time is a dependency for ring-core - Tests check that :max-age and :expires ...
Accept keywords in keyword params (fix for #43)
The first commit adds tests that expose the bug. The second one is a fix.
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 ...
Allow for manual configuration of Jetty server in ring-adapter-jetty
Hello Mark, Would you consider including this changeset? It allows for manual configuration of the Jetty server and is backwards compatible. I have a use case where I need to do some extensive customization ...
second attempt at cache-control middleware
This patch adds a middleware for setting HTTP headers, and specifically setting the cache-control headers. I made a first attempt at this last September, weavejester had comments on my patch, sorry it ...
A take on parsing the header values in a request, as discussed here: http://groups.google.com/group/ring-clojure/t/37abefdc99127229
Fixed the described issues - moved private resource-style function to ring.util.resource for getting resource files as stylesheets. dump would also return html5 now. Ring keys updated to added ssl-client-cert ...
The body can be a Fn that takes one argument that is the java.io.OutputStream to write the entity. This allows for streaming, for example, in conjunction with Compojure, an image does not need to be written ...
Add another handler body type: callback
Hi! I have a scenario, where I want to return a result of XSLT transformation (that's XML templating). I'm using a Saxon processor, which accepts OutputStream (or Writer) and serializes a formatted ...