update 2.7 - Document message_body arg in HTTPConnection.endheaders
diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst
index e1e3b2a..68a0149 100644
--- a/Doc/library/httplib.rst
+++ b/Doc/library/httplib.rst
@@ -492,9 +492,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.
+ 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)