summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-11-01 15:49:46 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-11-01 15:49:46 (GMT)
commit0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4 (patch)
tree208043e43deb4bac09d46499b3891572d5874986 /Lib/urllib
parent6c5bd40a3e68b63c2406de0c165ee213bd9f91f1 (diff)
downloadcpython-0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4.zip
cpython-0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4.tar.gz
cpython-0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4.tar.bz2
Append HTTPSHandler to __all__ when it is available.
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/request.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 97fd544..d360966 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -1200,6 +1200,8 @@ if hasattr(http.client, 'HTTPSConnection'):
https_request = AbstractHTTPHandler.do_request_
+ __all__.append(HTTPSHandler)
+
class HTTPCookieProcessor(BaseHandler):
def __init__(self, cookiejar=None):
import http.cookiejar