Fixed bug with permanent content-type in AjaxHandler