Unify character encoding header code

This commit is contained in:
emanuele-f 2017-05-04 17:12:06 +02:00
parent 10be6c2190
commit 1c38df48c9
114 changed files with 127 additions and 119 deletions

View file

@ -8,7 +8,7 @@ require "lua_utils"
local json = require("dkjson")
sendHTTPHeader('application/json; charset=iso-8859-1')
sendHTTPContentTypeHeader('application/json')
local action = _POST["resetstats_mode"]