summaryrefslogtreecommitdiff
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-10-05 23:26:49 +0800
committerSenthil Kumaran <senthil@uthcode.com>2011-10-05 23:26:49 +0800
commitdb89046e1cd560b2e6406308431a5ed7835f998d (patch)
treef870f139de783f10aacb716cb39cb5dc0dbbae22 /Doc/library/http.client.rst
parent24e29572fff98df4f6d2acaa26e5004ee0f32b55 (diff)
downloadcpython-db89046e1cd560b2e6406308431a5ed7835f998d.tar.gz
Issue #13073 - Address the review comments made by Ezio.
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r--Doc/library/http.client.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 9ef795651e..9b1ab0fdb2 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -475,11 +475,10 @@ also send your request step by step, by using the four functions below.
.. method:: HTTPConnection.endheaders(message_body=None)
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.
-
+ optional *message_body* argument can be used to pass a message body
+ associated with the request. The message body will be sent in the same
+ packet as the message headers if it is string, otherwise it is sent in a
+ separate packet.
.. method:: HTTPConnection.send(data)