Use a more specific "accept" value

This commit is contained in:
Michael 2022-03-29 14:02:10 +00:00
parent 28e3eee91b
commit 94b7c1fc77
2 changed files with 2 additions and 3 deletions

View file

@ -54,7 +54,7 @@ class Directory
Logger::info('Updating directory: ' . $arr['url']);
if (strlen($arr['url'])) {
DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), 0, HttpClient::ACCEPT_DEFAULT);
DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), 0, HttpClient::ACCEPT_HTML);
}
return;