diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2013-04-12 22:50:42 +0300 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2013-04-12 22:50:42 +0300 |
commit | 3042b5ebf4aee83957428870b86de394646b731c (patch) | |
tree | b1f2fb69400e089108baa2d0b43efbe0ecb17232 /Lib/http/client.py | |
parent | 7ca49361131ddeabe584b5fa3b53250d5ce9123c (diff) | |
parent | 7b2c8bb833780a6f6a0b5480f65d27248d7b3b53 (diff) | |
download | cpython-git-3042b5ebf4aee83957428870b86de394646b731c.tar.gz |
Issue #16658: add missing return to HTTPConnection.send().
Patch by Jeff Knupp
Diffstat (limited to 'Lib/http/client.py')
-rw-r--r-- | Lib/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 08311d7bb8..939615b2fb 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -864,7 +864,7 @@ class HTTPConnection: if encode: datablock = datablock.encode("iso-8859-1") self.sock.sendall(datablock) - + return try: self.sock.sendall(data) except TypeError: |