Skip to content

Commit b6884ad

Browse files
authored
Update client.py (GH-24827)
1 parent 7591d94 commit b6884ad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/http/client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,6 @@ def begin(self):
349349
# NOTE: RFC 2616, S4.4, #3 says we ignore this if tr_enc is "chunked"
350350
self.length = None
351351
length = self.headers.get("content-length")
352-
353-
# are we using the chunked-style of transfer encoding?
354-
tr_enc = self.headers.get("transfer-encoding")
355352
if length and not self.chunked:
356353
try:
357354
self.length = int(length)

0 commit comments

Comments
 (0)