Fix incorrect Content-Type header when displaying JSON

This commit is contained in:
Kijin Sung 2016-01-22 14:22:02 +09:00
parent 8e5f0b53bd
commit f73892de82

View file

@ -338,7 +338,7 @@ class DisplayHandler extends Handler
*/
public static function _printJSONHeader()
{
header("Content-Type: text/html; charset=UTF-8");
header("Content-Type: text/javascript; charset=UTF-8");
}
/**