Skip to content
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

Correct time formatting for Expires field added by Obj.Delete() and add field for Max-Age=0 #24

Merged
merged 1 commit into from
Feb 18, 2023

Conversation

jhurwich
Copy link
Contributor

Updates the time format used for the Expires field added by Obj.Delete() to align to expected format for header dates per MDN. Also adds Max-Age=0 for good measure.

@chmike chmike merged commit fd17de7 into chmike:master Feb 18, 2023
@chmike
Copy link
Owner

chmike commented Feb 18, 2023

After checking, it appears that your change suggestion is right. Not fully sure about the need of Max-Age, but it shouldn't harm. The RFC on cookies is a bit outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants