From 8d010753c8b88b57224e52f1d2b49791b6e232ca Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sun, 12 Jul 2020 19:00:01 +0300 Subject: [PATCH] Added compression for HTML content --- src/Appwrite/Swoole/Response.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Appwrite/Swoole/Response.php b/src/Appwrite/Swoole/Response.php index 3710c3a1dd..88ab1fcd43 100644 --- a/src/Appwrite/Swoole/Response.php +++ b/src/Appwrite/Swoole/Response.php @@ -25,6 +25,8 @@ class Response extends UtopiaResponse 'text/css' => true, 'text/javascript' => true, 'application/javascript' => true, + 'text/html' => true, + 'text/html; charset=UTF-8' => true, 'application/json' => true, 'application/json; charset=UTF-8' => true, 'image/svg+xml' => true,