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

Support for multi-value headers #84

Merged
merged 3 commits into from
Nov 14, 2024
Merged

Support for multi-value headers #84

merged 3 commits into from
Nov 14, 2024

Conversation

ikreymer
Copy link
Member

- add new HeadersMultiMap to support set-cookie, as well as warc-concurrent-to headers with multiple values (store internally as map, convert to array for multi value headers, override iterator)
- update tests to check for multiple warc-concurrent-to
- also ensure multiple Set-Cookie works with case sensitive headers
- fixes #32
@ikreymer ikreymer requested a review from tw4l November 13, 2024 00:55
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

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

Thanks for the good test coverage!

@ikreymer ikreymer merged commit 1883c33 into main Nov 14, 2024
6 checks passed
@ikreymer ikreymer deleted the multi-value-headers branch November 14, 2024 01: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.

Multiple WARC-Concurrent-To fields
2 participants