Expand description
A request/response cookie jar with plain and signed cookies (Rails
cookies[...] / cookies.signed[...]).
Incoming cookies are parsed from the request Cookie header; outgoing
cookies are collected and rendered as Set-Cookie header values. Signed
cookies carry an HMAC-SHA256 signature so a tampered value is rejected on
read.
Structsยง
- Cookie
Jar - Read incoming cookies and stage outgoing ones for a single request.