Skip to content
Snippets Groups Projects
Commit 4e1e4cb1 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed headers in file_get_contents

parent 96fbaf19
No related branches found
No related tags found
3 merge requests!1895Development,!1823Development,!1815Resolve "Migrate to New Keyserver API"
......@@ -73,8 +73,10 @@ class Key
$opts = array(
'http' => array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded\r\n' .
'Authorization: Basic ' . $authKey . '\r\n',
'header' => [
'Content-type: application/x-www-form-urlencoded',
'Authorization: Basic ' . $authKey
],
'content' => $postdata,
),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment