Send application/json content-type with JSON responses

This commit is contained in:
Kijin Sung 2020-07-04 19:08:17 +09:00
parent 01fc7383e6
commit 03f8081550

View file

@ -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");
}
/**