mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Document message_body arg in HTTPConnection.endheaders
This commit is contained in:
parent
86aed0bbc6
commit
5d0de3fbaa
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue