mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #16658: add missing return to HTTPConnection.send().
Patch by Jeff Knupp
This commit is contained in:
parent
a3b255f275
commit
7b2c8bb833
3 changed files with 25 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue