Skip to content
Permalink
Browse files

Make wrapper comparison case-insensitive.

Refs #6915
  • Loading branch information...
markstory committed Jul 1, 2015
1 parent 29ca3d1 commit 4830b0782de6adc2ca9fec8454aee241e2e8f99e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Network/Http/Adapter/Stream.php
@@ -266,7 +266,7 @@ protected function _send(Request $request)
throw new Exception('Connection timed out ' . $url);
}
$headers = $meta['wrapper_data'];
if (isset($meta['wrapper_type']) && $meta['wrapper_type'] === 'curl') {
if (isset($meta['wrapper_type']) && strtolower($meta['wrapper_type']) === 'curl') {
$headers = $meta['wrapper_data']['headers'];
}
return $this->createResponses($headers, $content);

0 comments on commit 4830b07

Please sign in to comment.
You can’t perform that action at this time.