authorization: Bearer referer: http://127.0.0.1:8180/auth.htmlaccept-encoding: gzip, deflate, sdchaccept-language: zh-CN, zh; cookie: 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"