summaryrefslogtreecommitdiffstats
path: root/Lib/http/client.py
diff options
context:
space:
mode:
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 9107412..230bcce 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -1060,7 +1060,7 @@ class HTTPConnection:
if encode_chunked and self._http_vsn == 11:
# chunked encoding
- chunk = f'{len(chunk):X}\r\n'.encode('ascii') + chunk \
+ chunk = f'{len(chunk):X}''\r\n'.encode('ascii') + chunk \
+ b'\r\n'
self.send(chunk)