From: Senthil Kumaran Date: Tue, 1 Nov 2011 15:49:46 +0000 (+0800) Subject: Append HTTPSHandler to __all__ when it is available. X-Git-Tag: v3.3.0a1~987 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4;p=python Append HTTPSHandler to __all__ when it is available. --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 97fd5440a2..d360966fc4 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