projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c5bd40
)
Append HTTPSHandler to __all__ when it is available.
author
Senthil Kumaran
<senthil@uthcode.com>
Tue, 1 Nov 2011 15:49:46 +0000
(23:49 +0800)
committer
Senthil Kumaran
<senthil@uthcode.com>
Tue, 1 Nov 2011 15:49:46 +0000
(23:49 +0800)
Lib/urllib/request.py
patch
|
blob
|
history
diff --git
a/Lib/urllib/request.py
b/Lib/urllib/request.py
index 97fd5440a2e1747d782719c73b2607af25092849..d360966fc4c61ed54ecaae1a248b5421ae08fb9a 100644
(file)
--- 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