response.add("Access-Control-Allow-Origin","*");
response.add("Access-Control-Allow-Methods","POST,GET,OPTIONS,DELETE");
response.add("Access-Control-Max-Age","3600");
response.add("Access-Control-Allow-Headers","x-requested-with,content-type");
response.add("Access-Control-Allow-Credentials","true");
poco 下c++ http 跨域处理方法
最新推荐文章于 2024-04-19 22:59:19 发布