angular.js - angular请求后台怎么去掉请求头携带的cookie
天蓬老师
天蓬老师 2017-05-15 16:58:31
0
1
636

authorization: Bearer
referer: http://127.0.0.1:8180/auth.html
accept-encoding: gzip, deflate, sdch
accept-language: zh-CN, zh;q=0.8, en;q=0.6
cookie: PHPSESSID=5uee1jrjl8eps2l8ust7te9fl3;
encoding: UTF-8

不想要这个cookie

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
迷茫

It can’t be set, the browser will set the headers parameters for you during the request, even if you use $httpProvider.defaults.headers.common['Cookie']去设置,也会报错Refused to set unsafe header "Cookie"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template