提交 2b678939 编写于 作者: inkwalk's avatar inkwalk

检查 set-cookie 大小写

上级 9ad7f1fb
......@@ -17,7 +17,7 @@ const publishStateChange = res => {
}
const cookiesPrase = header => {
let cookiesStr = header['Set-Cookie']
let cookiesStr = header['Set-Cookie'] || header['set-cookie']
let cookiesArr = []
if (!cookiesStr) {
return []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册