diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-10-05 15:26:49 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-10-05 15:26:49 (GMT) |
commit | ad87fa671939609f9ff7c0d489f09a8c86586fbd (patch) | |
tree | 12d46125130992e6a66edde44de6c3e0b29035c7 /Lib/http | |
parent | 035018d078da3577a1913a6c0e82866bf62f5212 (diff) | |
download | cpython-ad87fa671939609f9ff7c0d489f09a8c86586fbd.zip cpython-ad87fa671939609f9ff7c0d489f09a8c86586fbd.tar.gz cpython-ad87fa671939609f9ff7c0d489f09a8c86586fbd.tar.bz2 |
Issue #13073 - Address the review comments made by Ezio.
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/client.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 3f02729..8400914 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -947,11 +947,11 @@ class HTTPConnection: def endheaders(self, message_body=None): """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 - 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. + This method sends the request to the server. The 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 a string, otherwise it is sent as a separate + packet. """ if self.__state == _CS_REQ_STARTED: self.__state = _CS_REQ_SENT |