mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
Append HTTPSHandler to __all__ when it is available.
This commit is contained in:
parent
6c5bd40a3e
commit
0d54eb9bdc
1 changed files with 2 additions and 0 deletions
|
|
@ -1200,6 +1200,8 @@ if hasattr(http.client, 'HTTPSConnection'):
|
||||||
|
|
||||||
https_request = AbstractHTTPHandler.do_request_
|
https_request = AbstractHTTPHandler.do_request_
|
||||||
|
|
||||||
|
__all__.append(HTTPSHandler)
|
||||||
|
|
||||||
class HTTPCookieProcessor(BaseHandler):
|
class HTTPCookieProcessor(BaseHandler):
|
||||||
def __init__(self, cookiejar=None):
|
def __init__(self, cookiejar=None):
|
||||||
import http.cookiejar
|
import http.cookiejar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue