Browse Source

Append HTTPSHandler to __all__ when it is available.

pull/2332/head
Senthil Kumaran 15 years ago
parent
commit
0d54eb9bdc
  1. 2
      Lib/urllib/request.py

2
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

Loading…
Cancel
Save