MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-456195.py

File recipe-456195.py

recipes/Python/456195_urrlib2_opener_SSL_proxy_CONNECT/recipe-456195.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# urllib2 opener to connection through a proxy using the CONNECT method, (useful for SSL)
2# tested with python 2.4
3
4import urllib2

Callers

nothing calls this directly

Calls 4

build_openerMethod · 0.80
set_proxyMethod · 0.80
RequestMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected