PyDocs

Nav

Internet Protocols and Support

HTTPConnection.endheaders

http.client

method of HTTPConnection (source) not WASI
  • HTTPConnection.endheaders(message_body=None, *, encode_chunked=False)
Indicate that the last header line has been sent to the server.

This method sends the request to the server.  The optional message_body
argument can be used to pass a message body associated with the
request.
Changed in 3.6
  • 3.6: Added chunked encoding support and the encode_chunked parameter.
0 Examples
No examples for http.client/HTTPConnection.endheaders.
See Also
No see-alsos for http.client/HTTPConnection.endheaders
0 Notes
No notes for HTTPConnection.endheaders