summaryrefslogtreecommitdiff
path: root/Lib/http/client.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2013-04-12 22:50:42 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2013-04-12 22:50:42 +0300
commit3042b5ebf4aee83957428870b86de394646b731c (patch)
treeb1f2fb69400e089108baa2d0b43efbe0ecb17232 /Lib/http/client.py
parent7ca49361131ddeabe584b5fa3b53250d5ce9123c (diff)
parent7b2c8bb833780a6f6a0b5480f65d27248d7b3b53 (diff)
downloadcpython-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.py2
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: