-
Notifications
You must be signed in to change notification settings - Fork 84
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
api: make iOS Headers and HeadersBuilder case-insensitive #2383
Conversation
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
59cf05f
to
c3c9015
Compare
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
ec84cea
to
15f722b
Compare
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
f371032
to
516a1fc
Compare
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
6746393
to
42897f2
Compare
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
@goaway This is now ready for review. I incorporate your offline feedback with regard to making |
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Co-authored-by: JP Simard <[email protected]> Signed-off-by: Rafał Augustyniak <[email protected]>
Co-authored-by: JP Simard <[email protected]> Signed-off-by: Rafał Augustyniak <[email protected]>
Co-authored-by: JP Simard <[email protected]> Signed-off-by: Rafał Augustyniak <[email protected]>
Co-authored-by: JP Simard <[email protected]> Signed-off-by: Rafał Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
Signed-off-by: Rafal Augustyniak <[email protected]>
@@ -90,9 +90,9 @@ - (void)performRequest { | |||
NSString *message = [NSString stringWithFormat:@"received headers with status %i", statusCode]; | |||
|
|||
NSMutableString *headerMessage = [NSMutableString new]; | |||
for (NSString *name in headers.allHeaders) { | |||
for (NSString *name in headers.caseSensitiveHeaders()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this rename. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this solution. Nice work @Augustyniak.
Signed-off-by: Rafal Augustyniak <[email protected]>
* origin/main: Update Envoy (#2403) connectivity_manager: rename/refactor from Network::Configurator (#2401) test: fixing up build targets to use the extension registry (#2397) test: Adds an integration test for SDS (#2395) iOS: add `forceIPv6(...)` builder option (#2396) api: make iOS Headers and HeadersBuilder case-insensitive (#2383) Signed-off-by: JP Simard <[email protected]>
Description: An Android change that mimics iOS changes from #2383. Make the lookup of headers in HeadersBuilder and Headers case-insensitive and preserve the original casing of headers. Risk Level: Low Testing: Unit Docs Changes: Done Release Notes: Done Fixes: #2390 Signed-off-by: Rafal Augustyniak <[email protected]>
Description: An Android change that mimics iOS changes from envoyproxy/envoy-mobile#2383. Make the lookup of headers in HeadersBuilder and Headers case-insensitive and preserve the original casing of headers. Risk Level: Low Testing: Unit Docs Changes: Done Release Notes: Done Fixes: envoyproxy/envoy-mobile#2390 Signed-off-by: Rafal Augustyniak <[email protected]> Signed-off-by: JP Simard <[email protected]>
Description: Make the lookup of headers in
HeadersBuilder
andHeaders
case-insensitive and preserve the original casing of headers. Implemented on iOS only. Android side-changes are going to be implemented in a follow up PR. GH issue: #2390.Risk Level: Low
Testing: Unit Tests
Docs Changes: Updated
Release Notes: Updated