设置Cookie请求头报错(Refused to set unsafe header "Cookie")

初心-杨瑞超个人博客诚邀您加入qq群(IT-程序猿-技术交流群): 757345416丨(IT-程序猿-技术交流2群): 936929828

w3c规定,当请求的header匹配以下不安全字符时,将被终止,具体参考如下:

  Accept-Charset
  Accept-Encoding
  Connection
  Content-Length
  Cookie
  Cookie2
  Content-Transfer-Encoding
  Date
  Expect
  Host
  Keep-Alive
  Referer
  TE
  Trailer
  Transfer-Encoding
  Upgrade
  User-Agent
  Via

你可能感兴趣的:(设置Cookie请求头报错,Refused,to,set,unsafe,header,"Cooki)