Option for wrap-file middleware to serve symlinks
I discussed this change with @weavejester on IRC earlier this week. It's just like what it sounds like. Unfortunately, I couldn't think of a nice way to write a test for this.
Here's a fix for the wrap-params issue
I played around with several variations of this, but in the end it seems best to just fall out to nil when it can't decode a parameter. I tried this by patching the jar in place on my project and ...
Hello, I'd like to use parse-params in my code but it's private. This change makes it public, as it can be useful as generic query strring parser. (for example I'd like to use it to capture ...
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 ...
url-decode blowing up on round-trip url-encode/url-decode
I can url-encode an XML string. When I url-decode the returned value, I'm getting an index out-of-bounds on String in percent-decode (v 1.1.0): xception in thread "main" java.lang.StringIndexOutOfBoundsException: ...
Hi, I wanted a mime-type of ".htc" and after googled I found that there are a lack of mime-types in default-mime-type. So I added all mime-types which is not in default-mime-type. I used following ...
Set character encoding for response according to 'charset' field of 'Content-Type' header
Hello again! This is fixed fix for my last pull request. Hope I'm doing this right. Regards, Nick.
The middleware wrap-head makes Content-Length always be 0
Because it sets :body to nil, and :body is used to set Content-Length.
Running additional WARs in addition to the app
I'm developping a webapp which has two components, one is a JSON REST service, the other the app itself. Both are written in Clojure with Compojure. When running the app with run-jetty, is there a ...
Cookies support clj-time intervals and dates
In ring.middleware.wrap-cookies: - The :max-age key should support JodaTime Intervals (via clj-time) - The :expires key should support JodaTime DateTimes and Java Dates Existing Ring 1.0 behaviour ...