mirror of
https://github.com/friendica/friendica
synced 2025-04-29 02:24:22 +02:00
Don't send "accept" when we accept anything
This commit is contained in:
parent
ed0b300113
commit
4bc3e8c141
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue