Explorar el Código

ZF-10570: Clear Content-Encoding header between requests

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23164 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew hace 15 años
padre
commit
929d30f246
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      library/Zend/Service/Amazon/S3.php

+ 1 - 0
library/Zend/Service/Amazon/S3.php

@@ -608,6 +608,7 @@ class Zend_Service_Amazon_S3 extends Zend_Service_Amazon_Abstract
         // Work around buglet in HTTP client - it doesn't clean headers
         // Work around buglet in HTTP client - it doesn't clean headers
         // Remove when ZHC is fixed
         // Remove when ZHC is fixed
         $client->setHeaders(array('Content-MD5'              => null,
         $client->setHeaders(array('Content-MD5'              => null,
+                                  'Content-Encoding'         => null,
                                   'Expect'                   => null,
                                   'Expect'                   => null,
                                   'Range'                    => null,
                                   'Range'                    => null,
                                   'x-amz-acl'                => null,
                                   'x-amz-acl'                => null,