Permalink
Browse files

Allow http-only cookies.

  • Loading branch information...
1 parent 53f48e9 commit 2e6c6e2215902d0baa189405142663daeea6b898 ignacio committed Aug 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ring-core/src/ring/middleware/cookies.clj
@@ -34,7 +34,7 @@
set-cookie-attrs
{:comment "Comment", :comment-url "CommentURL", :discard "Discard",
:domain "Domain", :max-age "Max-Age", :path "Path", :port "Port",
- :secure "Secure", :version "Version", :expires "Expires"})
+ :secure "Secure", :version "Version", :expires "Expires", :http-only "HttpOnly"})
(defn- parse-cookie-header
"Turn a HTTP Cookie header into a list of name/value pairs."

0 comments on commit 2e6c6e2

Please sign in to comment.