summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2013-04-12 19:49:19 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2013-04-12 19:49:19 (GMT)
commit7b2c8bb833780a6f6a0b5480f65d27248d7b3b53 (patch)
tree8bf8f58f639df574ed2f0dffd26de50baac07505 /Lib/http
parenta3b255f275b09d5e12b43832c022df35a4fed9ac (diff)
downloadcpython-7b2c8bb833780a6f6a0b5480f65d27248d7b3b53.zip
cpython-7b2c8bb833780a6f6a0b5480f65d27248d7b3b53.tar.gz
cpython-7b2c8bb833780a6f6a0b5480f65d27248d7b3b53.tar.bz2
Issue #16658: add missing return to HTTPConnection.send().
Patch by Jeff Knupp
Diffstat (limited to 'Lib/http')
-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 4663d43..b72cf08 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -866,7 +866,7 @@ class HTTPConnection:
if encode:
datablock = datablock.encode("iso-8859-1")
self.sock.sendall(datablock)
-
+ return
try:
self.sock.sendall(data)
except TypeError: