Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / guzzlehttp / guzzle / src / Client.php
index 6b35d892b9e8ccb5154bfa93f9885d5c85f30597..80417918d053c720a6079496dc9dbf40d19c41d7 100644 (file)
@@ -331,7 +331,7 @@ class Client implements ClientInterface
             && $options['decode_content'] !== true
         ) {
             // Ensure that we don't have the header in different case and set the new value.
-            $options['_conditional'] = Psr7\_caseless_remove(['Accept-Encoding'], $modify['set_headers']);
+            $options['_conditional'] = Psr7\_caseless_remove(['Accept-Encoding'], $options['_conditional']);
             $modify['set_headers']['Accept-Encoding'] = $options['decode_content'];
         }