ID EN
HTTP Client

endheaders

Python 3.11

Send a blank line to the server, signalling the end of the headers. The optional message_body argument can be used to pass a message body associated with the request.

Syntax

PYTHON
HTTPConnection.endheaders(message_body=None, *, encode_chunked=False)

See Also

buffer interface collections.abc.Iterable file object