diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-10-05 15:52:49 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-10-05 15:52:49 (GMT) |
commit | 41d663f0a531cfda057b7d8a7457e55ace0afa3c (patch) | |
tree | 7436fcef7562f71df4f98a259aeb9659c06f9ebe /Lib/httplib.py | |
parent | 5a75355792a8667969b5d677f5e4208da8ad2dc4 (diff) | |
download | cpython-41d663f0a531cfda057b7d8a7457e55ace0afa3c.zip cpython-41d663f0a531cfda057b7d8a7457e55ace0afa3c.tar.gz cpython-41d663f0a531cfda057b7d8a7457e55ace0afa3c.tar.bz2 |
Issue13073 - Address review comments and add versionchanged information in the docs.
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r-- | Lib/httplib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index ccd4234..9853285 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -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 |