Skip to content

Commit

Permalink
Merge pull request #51 from qingdi/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
linslin authored Feb 24, 2017
2 parents 57f42fe + 8646aed commit 2b560fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ private function _extractCurlHeaders ($response)
if ($i === 0) {
$headers['http_code'] = $line;
} else {
list ($key, $value) = explode(': ', $line);
$headers[$key] = $value;
list ($key, $value) = explode(':', $line);
$headers[$key] = ltrim($value);
}
}

Expand Down

0 comments on commit 2b560fc

Please sign in to comment.