summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/http/client.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 0f66071..bbb3152 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -371,7 +371,6 @@ class HTTPResponse(io.BufferedIOBase):
if self.version == 11:
# An HTTP/1.1 proxy is assumed to stay open unless
# explicitly closed.
- conn = self.headers.get("connection")
if conn and "close" in conn.lower():
return True
return False