httplib2 defaults to using HTTP CONNECT tunnelling even for plain HTTP
connections. This is problematic with proxies configured to only allow
tunnelling to port 443. This is the default configuration for squid.
Hack around the problem by forcing httplib2 to use the HTTP_NO_TUNNEL
proxy type which disables tunnelling except for port 443.
Reviewed: https:/ /review. openstack. org/13036 github. com/openstack/ python- novaclient/ commit/ aaa38ce0e54d97d 744826e0b353ec7 9329cbaf91
Committed: http://
Submitter: Jenkins
Branch: master
commit aaa38ce0e54d97d 744826e0b353ec7 9329cbaf91
Author: Mark McLoughlin <email address hidden>
Date: Fri Sep 14 18:31:24 2012 +0100
Work around httplib2 tunnelling bug
Fixes bug #1051007
httplib2 defaults to using HTTP CONNECT tunnelling even for plain HTTP
connections. This is problematic with proxies configured to only allow
tunnelling to port 443. This is the default configuration for squid.
Hack around the problem by forcing httplib2 to use the HTTP_NO_TUNNEL
proxy type which disables tunnelling except for port 443.
Change-Id: I59cd95ed74a9bb 795779fc38fbc09 35266cc8b22