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.
http.client/HTTPConnection.endheaders
HTTPConnection.endheaders