Skip to content

Commit

Permalink
Add cookie option "partitioned" to DEFAULT_OPTIONS and documentation …
Browse files Browse the repository at this point in the history
…of class Persisted (#43)
  • Loading branch information
womblep authored Aug 11, 2024
1 parent 4c10f8b commit f9b045c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rack/session/abstract/id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def stringify_keys(other)
# All parameters are optional.
# * :key determines the name of the cookie, by default it is
# 'rack.session'
# * :path, :domain, :expire_after, :secure, :httponly, and :same_site set
# * :path, :domain, :expire_after, :secure, :httponly, :partitioned and :same_site set
# the related cookie options as by Rack::Response#set_cookie
# * :skip will not a set a cookie in the response nor update the session state
# * :defer will not set a cookie in the response but still update the session
Expand Down Expand Up @@ -244,6 +244,7 @@ class Persisted
expire_after: nil,
secure: false,
httponly: true,
partitioned: false,
defer: false,
renew: false,
sidbits: 128,
Expand Down

0 comments on commit f9b045c

Please sign in to comment.