responseHeaders with ':' truncated
ConstantinZinchenko opened this issue · 2 comments
ConstantinZinchenko commented
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'
linslin commented
Great, thanks for this reporting. We will take a look on it in the next days!
linslin commented
Fixed in v1.1.2 - https://github.com/linslin/Yii2-Curl/releases/tag/1.1.2