There was an error while loading. Please reload this page.
1 parent c7b3f0f commit a632d00Copy full SHA for a632d00
1 file changed
Lib/http/client.py
@@ -371,7 +371,6 @@ def _check_close(self):
371
if self.version == 11:
372
# An HTTP/1.1 proxy is assumed to stay open unless
373
# explicitly closed.
374
- conn = self.headers.get("connection")
375
if conn and "close" in conn.lower():
376
return True
377
return False
0 commit comments