http.HTTPConnection.putheader tweak (#10978)

This commit is contained in:
Tin Tvrtković
2023-11-06 00:38:41 +01:00
committed by GitHub
parent 1c51689b26
commit c8073493fc

View File

@@ -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: ...