mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Send application/json content-type with JSON responses
This commit is contained in:
parent
01fc7383e6
commit
03f8081550
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ class DisplayHandler extends Handler
|
|||
*/
|
||||
public static function _printJSONHeader()
|
||||
{
|
||||
header("Content-Type: text/javascript; charset=UTF-8");
|
||||
header("Content-Type: application/json; charset=UTF-8");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue