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.
1 parent b3d5e1b commit 808d1eeCopy full SHA for 808d1ee
lib/Mage/HTTP/Client/Curl.php
@@ -464,7 +464,7 @@ protected function parseHeaders($ch, $data): int
464
*/
465
protected function validateHttpVersion(array $line)
466
{
467
- if ($line[0] === 'HTTP/1.1') {
+ if ($line[0] === 'HTTP/1.0' || $line[0] === 'HTTP/1.1') {
468
if (count($line) !== 3) {
469
$this->doError('Invalid response line returned from server: ' . implode(' ', $line));
470
}
0 commit comments