Closed kucinl closed 2 years ago
https://github.com/raxjs/universal-api/blob/8d6ff6c80efdff2988fdadbbad8244b772287831/src/packages/network/request/src/common.ts#L73 如果传入的是 { Accept: 'xx', 'content-type': 'xxx' }这样的header,normalizeHeaders 函数会Accept匹配后提前返回false 导致遍历中断
{ Accept: 'xx', 'content-type': 'xxx' }
https://github.com/raxjs/universal-api/blob/8d6ff6c80efdff2988fdadbbad8244b772287831/src/packages/network/request/src/common.ts#L73 如果传入的是
{ Accept: 'xx', 'content-type': 'xxx' }
这样的header,normalizeHeaders 函数会Accept匹配后提前返回false 导致遍历中断