Compare commits

..

No commits in common. "26a01f096e28018680da078ca7aa16b628d9ed68" and "859d3247d4c635fcbb6c6713c6f523c4de52443d" have entirely different histories.

2 changed files with 2 additions and 14 deletions

View file

@ -545,7 +545,7 @@ namespace _munin.conf
} }
else else
{ {
return (conf_raw.content as type_conf_v7); return (conf_raw.content as type_conf_v6);
} }
} }

View file

@ -48,19 +48,7 @@ namespace _munin.sources.ics_feed
"version": "HTTP/2", "version": "HTTP/2",
"method": lib_plankton.http.enum_method.get, "method": lib_plankton.http.enum_method.get,
"query": ("?" + url.query), "query": ("?" + url.query),
"headers": ( "headers": {},
((url.username !== null) && (url.password !== null))
?
{
/**
* @todo use lib_plankton.base64
*/
"Authorization": ("Basic " + Buffer.from(url.username + ":" + url.password).toString("base64")),
}
:
{
}
),
"body": null, "body": null,
}; };
const http_response : lib_plankton.http.type_response = await lib_plankton.http.call(http_request); const http_response : lib_plankton.http.type_response = await lib_plankton.http.call(http_request);