Browse code

Merge pull request #970 from radeksimko/b-exclude-connection-header

Avoid passing 'connection' header to 'modify' requests

Florent Viard authored on 2018/05/05 04:47:24
Showing 1 changed files
... ...
@@ -789,6 +789,7 @@ class S3(object):
789 789
             'x-amz-delete-marker',
790 790
             # other headers returned from object_info() we don't want to send
791 791
             'accept-ranges',
792
+            'connection',
792 793
             'etag',
793 794
             'server',
794 795
             'x-amz-id-2',