Add :max-threads option to the Jetty adapter
In some cloud environments, such as Heroku, the number of threads available to a process is limited. The Jetty adapter should therefore support a :max-threads option for limiting the number of threads ...
Cookie parsing needs to deal with nil return value from url-decode
The decision to allow url-decode to return nil for improperly encoded strings (instead of throwing an exception) now means that cookie handling needs to accomodate this newly-endorsed return value. Frankly, ...
Let's clean up the README, assume most people are going to use Ring via a project.clj dependency, and remove the examples folder from the repository (examples can be better stored and documented in ...
Functions for piped output streams
Create a new namespace, ring.util.io in ring-core. The namespace should have: - Functions for turning an OutputStream into an InputStream - Copy ring.util.test/string-input-stream into ring.util.io ...
Add some new middleware that proxies HTTP HEAD requests as GETs and the removes the body from the response. This will make it easier to support the HEAD method in Ring apps.
Create a charset function that adds or changes the charset of a response.
resource-response excepts on directories
If the ring.util.response/resource-response function is given a path to a directory, it will except instead of returning nil.
Ger rid of reflection warnings
While trying to compile my own project with warn-on-reflection in Clojure 1.3.0 I got the following warnings in ring code. Reflection warning, ring/util/response.clj:50 - reference to field isDirectory ...
wrap-params middleware doesn't function when not url-encoded...
IE send an url not url-encoded when "Send UTF-8 query strings..." flag of Internet Option is unset. And parameters of this request can't be processed properly by wrap-params, which decode ...