We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f976fa + 5c2e563 commit b720e68Copy full SHA for b720e68
lib/internal/Magento/Framework/HTTP/Client/Curl.php
@@ -438,7 +438,7 @@ protected function parseHeaders($ch, $data)
438
{
439
if ($this->_headerCount == 0) {
440
$line = explode(" ", trim($data), 3);
441
- if (count($line) != 3) {
+ if (count($line) < 2) {
442
$this->doError("Invalid response line returned from server: " . $data);
443
}
444
$this->_responseStatus = (int)$line[1];
0 commit comments