Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle httplib implementations that don't set _tunnel_host
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
- Loading branch information