header is nulll
This commit is contained in:
parent
0b05aff4c9
commit
d42d8c8e25
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue