mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Annotate some missing http client and urllib APIs. (#2582)
This commit is contained in:
committed by
Sebastian Rittau
parent
c7b0e60032
commit
cd4572e43c
@@ -46,6 +46,8 @@ class HTTPConnection:
|
||||
timeout = ... # type: Any
|
||||
source_address = ... # type: Any
|
||||
sock = ... # type: Any
|
||||
host: str = ...
|
||||
port: int = ...
|
||||
def __init__(self, host, port=None, strict=None, timeout=..., source_address=None) -> None: ...
|
||||
def set_tunnel(self, host, port=None, headers=None): ...
|
||||
def set_debuglevel(self, level): ...
|
||||
|
||||
Reference in New Issue
Block a user