-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Added docs for res.cookie partitioned option #1456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| | `httpOnly` | Boolean | Flags the cookie to be accessible only by the web server. | ||
| | `maxAge` | Number | Convenient option for setting the expiry time relative to the current time in milliseconds. | ||
| | `path` | String | Path for the cookie. Defaults to "/". | ||
| | `partitioned` | Boolean | Indicates that the cookie should be stored using partitioned storage. See [Cookies Having Independent Partitioned State (CHIPS)](https://developer.mozilla.org/en-US/docs/Web/Privacy/Partitioned_cookies) for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I read each line correctly, but this is the only changed line right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeh sorry it is, trying to keep the table readable vs minimal commits 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, just making sure I didn't miss something 😆
expressjs#1456 Co-authored-by: Rich Hodgkins <[email protected]>
* Include 4.18 API doc updates in 5.x 5c98ee4 Co-authored-by: Douglas Christopher Wilson <[email protected]> * Copy acceptsLanguages documentation improvements to 5.x #1402 Co-authored-by: Jon Ege Ronnenberg <[email protected]> * Add warning boxes to {app,res}.render 5e918ea Co-authored-by: Douglas Christopher Wilson <[email protected]> * Copy warning around securing locals to 5.x fcaca7f Co-authored-by: Douglas Christopher Wilson <[email protected]> * Copy res.cookie `partitioned` option docs #1456 Co-authored-by: Rich Hodgkins <[email protected]> * Update req.body to point to built-in middleware a5ca5b0 Co-Authored-By: Douglas Wilson <[email protected]> * Copy setting multiple cookies example to 5.x #1063 Co-Authored-By: Mo <[email protected]> --------- Co-authored-by: krzysdz <[email protected]> Co-authored-by: Douglas Christopher Wilson <[email protected]> Co-authored-by: Jon Ege Ronnenberg <[email protected]> Co-authored-by: Rich Hodgkins <[email protected]> Co-authored-by: Mo <[email protected]>
See expressjs/express#5404