The adding of the file worked.
Excellent job, works great! Thank you.
A solution that worked for me is to replace the following code at lib/internal/Magento/Framework/HTTP/Client/Curl.php or vendor/magento/framework/HTTP/Client/Curl.php Add Following changes in this function : protected function parseHeaders($ch, $data) if ($this->_headerCount == 0) { $line = explode(" ", trim($data), 3); /* Remove this line */ //if (count($line) != 3) { /* Add this line */ if (count($line) < 2) { $this->doError("Invalid response line returned from server: " . $data); } $this->_responseStatus = intval($line[1]);