[httpserver] fixed header for ajax upload/update handler