authorization: Bearer referer: http://127.0.0.1:8180/auth.htmlaccept-encoding: gzip, deflate, sdchaccept-language: zh-CN, zh;q=0.8, en;q=0.6cookie: PHPSESSID=5uee1jrjl8eps2l8ust7te9fl3; encoding: UTF-8
不想要这个cookie
欢迎选择我的课程,让我们一起见证您的进步~~
设置不了吧,浏览器会在request的时候代替你去设置headers的参数,就算你使用$httpProvider.defaults.headers.common['Cookie']去设置,也会报错Refused to set unsafe header "Cookie"
$httpProvider.defaults.headers.common['Cookie']
Refused to set unsafe header "Cookie"
设置不了吧,浏览器会在request的时候代替你去设置headers的参数,就算你使用
$httpProvider.defaults.headers.common['Cookie']
去设置,也会报错Refused to set unsafe header "Cookie"