only skip ajax callback execution if getallheaders() is available