Skip to content

Netty provider: Support multi-valued headers in Request #403

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

Closed
wants to merge 3 commits into from

Conversation

lukiano
Copy link

@lukiano lukiano commented Oct 14, 2013

In one step of the request process, the headers are saved in a regular map, instead of a multi-value map like everywhere else. This pull request fixes that.

@slandelle
Copy link
Contributor

You're right that this should support multi value headers. However, I'm not fond of FluentCaseInsensitiveStringsMap and there's already plenty of validation and grouping happening in Netty Headers.add, so I think a List<Map.entry<String, Object>> would probably be enough.

@slandelle slandelle closed this in d6e5c15 Oct 14, 2013
@slandelle
Copy link
Contributor

@lukiano Actually, the problem was a bit more complex: user provided headers can be multi valued, but some have to be fully overridden. Thanks for reporting!

@ghost ghost assigned slandelle Oct 14, 2013
@lukiano
Copy link
Author

lukiano commented Oct 15, 2013

You're welcome! Do you have an estimate for 2.0 release?

@slandelle
Copy link
Contributor

No, sorry. There's still a lot of refactoring to be done on the Netty provider.

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