Skip to content

Commit

Permalink
pythongh-104924: Fix read()able in http.client log messages (pyth…
Browse files Browse the repository at this point in the history
  • Loading branch information
arhadthedev authored May 26, 2023
1 parent 7fc542c commit 6c81d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/http/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ def send(self, data):
print("send:", repr(data))
if hasattr(data, "read") :
if self.debuglevel > 0:
print("sendIng a read()able")
print("sending a readable")
encode = self._is_textIO(data)
if encode and self.debuglevel > 0:
print("encoding file using iso-8859-1")
Expand Down Expand Up @@ -1054,7 +1054,7 @@ def _output(self, s):

def _read_readable(self, readable):
if self.debuglevel > 0:
print("sendIng a read()able")
print("reading a readable")
encode = self._is_textIO(readable)
if encode and self.debuglevel > 0:
print("encoding file using iso-8859-1")
Expand Down

0 comments on commit 6c81d75

Please sign in to comment.