X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FProxy.php;h=04fe00db1248a8ed07e726c525b256f9b75986a7;hb=fc283ab92858238a5a55f24b1d1650bb72068b7d;hp=b1683e8f5b4082e4c76e129c9e63fa0747ddc4bc;hpb=844727dc19e584b807cd1831a8268544f7230965;p=friendica.git diff --git a/src/Module/Proxy.php b/src/Module/Proxy.php index b1683e8f5b..04fe00db12 100644 --- a/src/Module/Proxy.php +++ b/src/Module/Proxy.php @@ -75,7 +75,7 @@ class Proxy extends BaseModule $request['url'] = str_replace(' ', '+', $request['url']); // Fetch the content with the local user - $fetchResult = HTTPSignature::fetchRaw($request['url'], local_user(), ['timeout' => 10]); + $fetchResult = HTTPSignature::fetchRaw($request['url'], local_user(), ['accept_content' => '', 'timeout' => 10]); $img_str = $fetchResult->getBody(); if (!$fetchResult->isSuccess() || empty($img_str)) {