diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-11-01 15:49:46 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-11-01 15:49:46 (GMT) |
commit | 0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4 (patch) | |
tree | 208043e43deb4bac09d46499b3891572d5874986 /Lib/urllib | |
parent | 6c5bd40a3e68b63c2406de0c165ee213bd9f91f1 (diff) | |
download | cpython-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.py | 2 |
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 |