Tosca-Pacer doesn't support https proxy. 47/16947/2
authorshangxdy <shangxdy@shangxdy.local>
Fri, 15 Jul 2016 07:27:59 +0000 (15:27 +0800)
committer10013968 <zhang.jun3g@zte.com.cn>
Tue, 19 Jul 2016 15:14:27 +0000 (23:14 +0800)
commit9b0aa6ee37e40e98ac1f8c74ac85864af30458da
treee3d3fce65205852eed7bc9b5cf0b519d328cbae6
parent824770342963cd51b46cb6e9748d5d2afbef34a9
Tosca-Pacer doesn't support https proxy.

When access CSAR file which is URL and the protocol is https by proxy,
it will be error and the information is below:
toscaparser.common.exception.URLException: Failed to reach server
"https://raw.githubusercontent.com/openstack/tosca- parser/master/toscaparser
/tests/data/custom_types/wordpress.yaml". Reason is: Tunnel
connection failed: 503 Service Unavailable.

The reason of the error is urllib doesn't  support https proxy.

JIRA: PARSER-66

Change-Id: I82ec68d533743527fba613cc362e4241494359d4
Signed-off-by: 10013968 <zhang.jun3g@zte.com.cn>
Signed-off-by: shangxdy <shangxdy@shangxdy.local>
tosca2heat/tosca-parser/toscaparser/utils/urlutils.py