允许获取response header中的属性

httpServletResponse.setHeader("Access-Control-Expose-Headers", "status,token");

你可能感兴趣的:(javascript,ajax,token,header,response)