X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FResponse.php;h=ba7d4320271d275ed108a1a7d1167fa85139418a;hb=7072a7178896c567caf5003e94a8f8045221bd8f;hp=db30a10d8cf7cf487777a8cad5343e92d797b354;hpb=c7f2ba213b6be62166a8a8eb738f6900764515cf;p=friendica.git diff --git a/src/Module/Response.php b/src/Module/Response.php index db30a10d8c..ba7d432027 100644 --- a/src/Module/Response.php +++ b/src/Module/Response.php @@ -96,6 +96,9 @@ class Response implements ICanCreateResponses } switch ($type) { + case static::TYPE_HTML: + $content_type = $content_type ?? 'text/html; charset=utf-8'; + break; case static::TYPE_JSON: $content_type = $content_type ?? 'application/json'; break;