keep-alive
authorKenneth Reitz <me@kennethreitz.com>
Thu, 28 Aug 2014 17:05:30 +0000 (13:05 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Thu, 28 Aug 2014 17:05:30 +0000 (13:05 -0400)
requests/utils.py

index 68e50cf0a9646d1d941b3d5d453ff0cb0280e509..2c6bb0905521f2b63fd68795a145852ab553b7c4 100644 (file)
@@ -554,7 +554,8 @@ def default_headers():
     return CaseInsensitiveDict({
         'User-Agent': default_user_agent(),
         'Accept-Encoding': ', '.join(('gzip', 'deflate')),
-        'Accept': '*/*'
+        'Accept': '*/*',
+        'Connection': 'keep-alive'
     })