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

Fixes #143: Remove extraneous Host header #145

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

gkelly
Copy link
Contributor

@gkelly gkelly commented May 19, 2021

Python's HTTPConnection already sets a Host header when connecting.
Don't set another as this is considered invalid by some HTTP servers.

Python's HTTPConnection already sets a `Host` header when connecting.
Don't set another as this is considered invalid by some HTTP servers.
@gkelly
Copy link
Contributor Author

gkelly commented May 21, 2021

@xdesai @AaronAtDuo for visibility.

@AaronAtDuo AaronAtDuo merged commit 6cf37c0 into duosecurity:master Jun 2, 2021
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