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