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

Value lost calling HttpFieldsMap.Mutable.get(name).add(value) #12621

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Dec 9, 2024

Fixes HttpFieldsMap so that now HttpFieldsMap.Mutable.get(name).add(value) is supported and correctly backed by the underlying HttpFields instance.

Also made List returned by HttpFieldsMap.Mutable.remove() and HttpFieldsMap.Immutable.get() unmodifiable.

Added test cases.

…alue) is supported and correctly backed by the underlying HttpFields instance.

Also made List returned by HttpFieldsMap.Mutable.remove() and HttpFieldsMap.Immutable.get() unmodifiable.

Added test cases.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@joakime joakime mentioned this pull request Dec 9, 2024
50 tasks
@sbordet sbordet merged commit 9d39936 into jetty-12.0.x Dec 9, 2024
10 checks passed
@sbordet sbordet deleted the fix/jetty-12.0.x/httpfieldsmap-values-add branch December 9, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants