Minor docstring update for http-only flag #85

Closed
wants to merge 1 commit into
from
View
2 ring-core/src/ring/middleware/cookies.clj
@@ -151,7 +151,7 @@
:max-age - the maximum age in seconds of the cookie
:expires - a date string at which the cookie will expire
:secure - set to true if the cookie is valid for HTTPS only
- :http-only - set to true if the cookie is valid for HTTP only"
+ :http-only - set to true to prevent client side script access to cookie"
[handler]
(fn [request]
(let [request (if (request :cookies)