linslin/Yii2-Curl

responseHeaders with ':' truncated

ConstantinZinchenko opened this issue · 2 comments

In r 1.1.1
line
list ($key, $value) = explode(': ', $line);
_extractCurlHeaders

was changed to
list ($key, $value) = explode(':', $line);

': ' with space -> ':' without space.
So header Location: http://foo.bar bocomes:
'Location'=>'http'

Great, thanks for this reporting. We will take a look on it in the next days!