Skip to content

Commit

Permalink
Make wrapper comparison case-insensitive.
Browse files Browse the repository at this point in the history
Refs #6915
  • Loading branch information
markstory committed Jul 1, 2015
1 parent 29ca3d1 commit 4830b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/Http/Adapter/Stream.php
Expand Up @@ -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);
Expand Down

0 comments on commit 4830b07

Please sign in to comment.