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

feat: [#1315] Implement the getSetCookie method of Headers #1316

Merged

Conversation

ushiboy
Copy link
Contributor

@ushiboy ushiboy commented Mar 16, 2024

#1315

Implemented the getSetCookie method of Headers.

Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing @ushiboy! 🌟

I think that is safer to just add support for multiple values to Headers instead of splitting the cookie string, so I changed the logic in Headers and removed the utility used for splitting.

I hope you are fine with the solution 🙂

@capricorn86 capricorn86 merged commit d43d2e2 into capricorn86:master Mar 18, 2024
3 checks passed
@ushiboy
Copy link
Contributor Author

ushiboy commented Mar 18, 2024

Thanks @capricorn86

I agree that changing the data structure would be a more appropriate approach.
I hope that method works well.

@ushiboy ushiboy deleted the feature/headers-get-set-cookie branch March 18, 2024 12:06
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.

None yet

2 participants