diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-09 16:05:49 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-09 16:05:49 +0300 |
commit | 5be86b5e6141c4b819b2f776938f5f2cb1ecece1 (patch) | |
tree | e677a1633677ae0621e9cdea4cb5f394a7766b50 /lib | |
parent | 9e2a6867b0578e8b106166ebe4506c9a3817eae5 (diff) |
Set Content-Type
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/PublicFileHandlingController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Controller/PublicFileHandlingController.php b/lib/Controller/PublicFileHandlingController.php index 42a38bd..6451845 100644 --- a/lib/Controller/PublicFileHandlingController.php +++ b/lib/Controller/PublicFileHandlingController.php @@ -128,7 +128,8 @@ class PublicFileHandlingController extends Controller{ return new DataResponse( $fileContents, - Http::STATUS_OK + Http::STATUS_OK, + ['Content-Type' => 'text/plain; charset="utf-8"'] ); } |