diff -r 6bd6cc7f2c8d Doc/library/http.client.rst --- a/Doc/library/http.client.rst Sun Oct 02 01:08:37 2011 +0200 +++ b/Doc/library/http.client.rst Sun Oct 02 02:32:03 2011 -0500 @@ -472,9 +472,13 @@ 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)