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

Strip default ports in RequestCanonicalizer #408

Merged
merged 4 commits into from Apr 28, 2018

Conversation

pkiv
Copy link
Contributor

@pkiv pkiv commented Apr 28, 2018

Generalizes the LOWERCASE_KEYS function into NORMALIZE_HEADERS. Additionally strips default ports on the Host header for signature generation (PKCV).

Copy link
Contributor

@codejudas codejudas left a comment

Choose a reason for hiding this comment

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

+1

@codejudas codejudas merged commit 7c81a62 into twilio:master Apr 28, 2018
mi5c pushed a commit to mi5c/twilio-java that referenced this pull request May 2, 2018
* Strip default ports (443, 80) from host header in Canonicalizer

* Combine the lower and strip functions into one normalize funtion

* More name consistency

* Use ends with instead of contains

(cherry picked from commit 7c81a62)
codejudas pushed a commit that referenced this pull request May 2, 2018
* Strip default ports (443, 80) from host header in Canonicalizer

* Combine the lower and strip functions into one normalize funtion

* More name consistency

* Use ends with instead of contains
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