From b6f288a522020f8e8335fdec78bdf9a001531b80 Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 9 Oct 2014 23:10:28 +0200 Subject: [PATCH] Close request connection --- couchpotato/core/plugins/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index ab16378..5a90d92 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -196,7 +196,7 @@ class Plugin(object): headers['Host'] = headers.get('Host', None) headers['User-Agent'] = headers.get('User-Agent', self.user_agent) headers['Accept-encoding'] = headers.get('Accept-encoding', 'gzip') - headers['Connection'] = headers.get('Connection', 'keep-alive') + headers['Connection'] = headers.get('Connection', 'close') headers['Cache-Control'] = headers.get('Cache-Control', 'max-age=0') r = Env.get('http_opener')