From 9928b7aae14250ba3767030db5f9653318570d6c Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Fri, 19 May 2017 09:01:46 +0100 Subject: [PATCH] Remove duplicate line --- Lib/http/client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/http/client.py b/Lib/http/client.py index 0f660710a72407..bbb3152dca5a54 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -371,7 +371,6 @@ def _check_close(self): 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