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

Handle httplib implementations that don't set _tunnel_host #1527

Merged
merged 1 commit into from Jan 24, 2019

Conversation

jpevarnek
Copy link
Contributor

urllib3 removed support for Python versions before 2.7 in a previous
pull request, unfortunately, this broke environments that use a
different implementation of httplib than the one in Python's standard
library as well. This includes Google App Engine's urlfetch-based
implementation
(https://github.com/GoogleCloudPlatform/python-compat-runtime/blob/master/appengine-compat/exported_appengine_sdk/google/appengine/dist27/gae_override/httplib.py#L362)

This pull request is nearly identical to #1504 which was
closed due to its author not responding to comments.

Fixes #1503

urllib3 removed support for Python versions before 2.7 in a previous
pull request, unfortunately, this broke environments that use a
different implementation of httplib than the one in Python's standard
library as well. This includes Google App Engine's urlfetch-based
implementation
(https://github.com/GoogleCloudPlatform/python-compat-runtime/blob/master/appengine-compat/exported_appengine_sdk/google/appengine/dist27/gae_override/httplib.py#L362)

This pull request is nearly identical to urllib3#1504 which was
closed due to its author not responding to comments.

Fixes urllib3#1503
@codecov-io
Copy link

codecov-io commented Jan 24, 2019

Codecov Report

Merging #1527 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1527   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files          22       22           
  Lines        1809     1809           
=======================================
  Hits         1808     1808           
  Misses          1        1
Impacted Files Coverage Δ
src/urllib3/connection.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 791e9b4...c42c8c6. Read the comment docs.

@sethmlarson sethmlarson merged commit 799f50d into urllib3:master Jan 24, 2019
@sethmlarson
Copy link
Member

Thanks for this change! 🎉

Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
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.

App Engine Error with HTTPS
4 participants