Append HTTPSHandler to __all__ when it is available.

This commit is contained in:
Senthil Kumaran 2011-11-01 23:49:46 +08:00
parent 6c5bd40a3e
commit 0d54eb9bdc
1 changed files with 2 additions and 0 deletions

View File

@ -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