diff options
Diffstat (limited to 'static/classes')
| -rwxr-xr-x | static/classes/Response.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php index 3afcfdb..a83cb6a 100755 --- a/static/classes/Response.class.php +++ b/static/classes/Response.class.php @@ -31,6 +31,9 @@ class Response { switch ($response_type) { case 'csv': + header('Content-Type: text/csv; charset=UTF-8'); + $this->type = $response_type; + break; case 'gyazo': header('Content-Type: text/plain; charset=UTF-8'); $this->type = $response_type; |
