]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Response.php
Fix test / Use new expandTags function
[friendica.git] / src / Module / Response.php
index db30a10d8cf7cf487777a8cad5343e92d797b354..f9d46da83b7c03679b188df009cb0f90075e5262 100644 (file)
@@ -96,6 +96,9 @@ class Response implements ICanCreateResponses
                }
 
                switch ($type) {
+                       case static::TYPE_HTML:
+                               $content_type = $content_type ?? 'text/html';
+                               break;
                        case static::TYPE_JSON:
                                $content_type = $content_type ?? 'application/json';
                                break;