Commit abcd4731 authored by Senthil Kumaran's avatar Senthil Kumaran

merge from 3.2 - Document message_body arg in HTTPConnection.endheaders

parents 8e3ea5b0 8bc2c96f
......@@ -472,9 +472,13 @@ also send your request step by step, by using the four functions below.
an argument.
.. method:: HTTPConnection.endheaders()
.. method:: HTTPConnection.endheaders(message_body=None)
Send a blank line to the server, signalling the end of the headers.
Send a blank line to the server, signalling the end of the headers. The
optional message_body argument can be used to pass message body
associated with the request. The message body will be sent in
the same packet as the message headers if possible. The
message_body should be a string.
.. method:: HTTPConnection.send(data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment