-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Remove cookie-jar dependency for ruby 3.3 #2395
Conversation
Remove deleted and set max-age 0 for current cookies Replace HTTP_COOKIE by set-cookie function Replace Set-Cookie by Rack::SET_COOKIE Update specs
I haven't found a good candidate to replace |
@dblock something is going on with
|
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.
This looks nice and clean and extensible! Do update CHANGELOG even if it's test work.
Done |
Fix #2394
This PR also changes our
cookie[...].delete
data. I followed Rack::Utils.delete_set_cookie_header. At some point, we should refactor ourGrape::Cookies
to use the function instead of explicitly setting the values.Documentation about Max-Age