header is nulll
This commit is contained in:
@@ -32,9 +32,11 @@ class podmanImageManager implements podmanImageManagerInterface
|
||||
}
|
||||
//####### SET SETTINGS #########
|
||||
|
||||
curl_setopt( $curl, CURLOPT_HTTPHEADER,
|
||||
$Headers
|
||||
);
|
||||
if ($Headers)
|
||||
{
|
||||
curl_setopt( $curl, CURLOPT_HTTPHEADER, $Headers);
|
||||
}
|
||||
|
||||
curl_setopt($curl, CURLOPT_URL, $URL);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); // This returns the page to us at curl_exec
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
|
||||
|
||||
Reference in New Issue
Block a user