Don't send "accept" when we accept anything

This commit is contained in:
Michael 2021-08-06 04:02:22 +00:00
parent ed0b300113
commit 4bc3e8c141
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class ExternalResource implements IStorage
return "";
}
$fetchResult = HTTPSignature::fetchRaw($data->url, $data->uid);
$fetchResult = HTTPSignature::fetchRaw($data->url, $data->uid, ['accept_content' => '']);
if ($fetchResult->isSuccess()) {
return $fetchResult->getBody();
} else {