Skip to content

Commit a632d00

Browse files
remitamineserhiy-storchaka
authored andcommitted
Remove duplicate line in Lib/http/client.py (#1665)
1 parent c7b3f0f commit a632d00

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/http/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ def _check_close(self):
371371
if self.version == 11:
372372
# An HTTP/1.1 proxy is assumed to stay open unless
373373
# explicitly closed.
374-
conn = self.headers.get("connection")
375374
if conn and "close" in conn.lower():
376375
return True
377376
return False

0 commit comments

Comments
 (0)