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 d6b5325 + 46c088c commit c36df15Copy full SHA for c36df15
lib/internal/Magento/Framework/HTTP/Client/Curl.php
@@ -432,7 +432,7 @@ protected function parseHeaders($ch, $data)
432
{
433
if ($this->_headerCount == 0) {
434
$line = explode(" ", trim($data), 3);
435
- if (count($line) != 3) {
+ if (count($line) < 2) {
436
$this->doError("Invalid response line returned from server: " . $data);
437
}
438
$this->_responseStatus = (int)$line[1];
0 commit comments