From 0d54eb9bdcf16baf8a1fb31ae69dd0d935ae1df4 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 1 Nov 2011 23:49:46 +0800 Subject: [PATCH] Append HTTPSHandler to __all__ when it is available. --- Lib/urllib/request.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 97fd5440a2e..d360966fc4c 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1200,6 +1200,8 @@ def https_open(self, req): https_request = AbstractHTTPHandler.do_request_ + __all__.append(HTTPSHandler) + class HTTPCookieProcessor(BaseHandler): def __init__(self, cookiejar=None): import http.cookiejar