We’ve found 88 issues

#24

Allow http-only cookies.

  • Opened by ithayer Aug 4, 2011
  • 3 comments
#28

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 ...

  • Opened by ghoseb Aug 19, 2011
  • 3 comments
#81

The middleware wrap-head makes Content-Length always be 0

Because it sets :body to nil, and :body is used to set Content-Length.

  • Opened by aviflax Jun 24, 2013
  • 4 comments
#53

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 ...

  • Opened by pallix Feb 23, 2012
  • 4 comments
#55

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 ...

#42

Allow headers map/function for wrap-file?

Setting headers, particularly cache-control, can be very important when serving static files. This is especially true in an environment like Heroku, where you're relying on a server-side HTTP cache ...

  • Opened by jarrett Nov 17, 2011
  • 4 comments
#33

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 ...

  • Opened by lispnik Sep 15, 2011
  • 4 comments
#35

Support streaming

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 ...

#1

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 ...

#2

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 ...