You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/plug/conn.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1656,7 +1656,7 @@ defmodule Plug.Conn do
1656
1656
option will set both the _max-age_ and _expires_ cookie attributes. Unset
1657
1657
by default, which means the browser will default to a [session cookie](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#define_the_lifetime_of_a_cookie).
1658
1658
* `:path` - the path the cookie applies to
1659
-
* `:http_only` - when `false`, the cookie is accessible beyond HTTP
1659
+
* `:http_only` - when `false`, the cookie is accessible beyond HTTP. Defaults to `true`
1660
1660
* `:secure` - if the cookie must be sent only over https. Defaults
1661
1661
to true when the connection is HTTPS
1662
1662
* `:extra` - string to append to cookie. Use this to take advantage of
0 commit comments