Issue13073 - Address review comments and add versionchanged information in the docs.

This commit is contained in:
Senthil Kumaran 2011-10-05 23:52:49 +08:00
parent 5a75355792
commit 41d663f0a5
2 changed files with 11 additions and 8 deletions

View file

@ -939,10 +939,10 @@ class HTTPConnection:
"""Indicate that the last header line has been sent to the server.
This method sends the request to the server. The optional
message_body argument can be used to pass message body
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 possible. The
message_body should be a string.
the same packet as the message headers if it is string, otherwise it is
sent as a separate packet.
"""
if self.__state == _CS_REQ_STARTED:
self.__state = _CS_REQ_SENT