Skip to content

Commit

Permalink
Merge pull request #110 from qzminski/bugfix/headers-parsing
Browse files Browse the repository at this point in the history
Correctly handle response headers parsing
  • Loading branch information
Sventour authored Sep 13, 2016
2 parents d13bc21 + 3c51082 commit f7259f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vimeo/Vimeo.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static function parse_headers($headers)
$http = array_shift($list);

foreach ($list as $header) {
$parts = explode(':', $header);
$parts = explode(':', $header, 2);
$final_headers[trim($parts[0])] = isset($parts[1]) ? trim($parts[1]) : '';
}

Expand Down

0 comments on commit f7259f0

Please sign in to comment.