mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
http.HTTPConnection.putheader tweak (#10978)
This commit is contained in:
1 parent
1c51689b26
commit
c8073493fc
1 file changed
+1
-1
@@ -176,7 +176,7 @@ class HTTPConnection:
|
||||
def connect(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def putrequest(self, method: str, url: str, skip_host: bool = False, skip_accept_encoding: bool = False) -> None: ...
|
||||
def putheader(self, header: str, *argument: str) -> None: ...
|
||||
def putheader(self, header: str | bytes, *argument: str | bytes) -> None: ...
|
||||
def endheaders(self, message_body: _DataType | None = None, *, encode_chunked: bool = False) -> None: ...
|
||||
def send(self, data: _DataType | str) -> None: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user