auth是正常的,任意prompt都会提示http协议错误,看堆栈,Content-Type的c被吃掉了,不知道是解析器的问题还是remote server的问题
[cause]: HTTPParserError: Response does not match the HTTP/1.1 protocol (Invalid header value char)
at Parser.execute (node:internal/deps/undici/undici:7213:21)
at Parser.readMore (node:internal/deps/undici/undici:7170:16)
at TLSSocket.onHttpSocketReadable (node:internal/deps/undici/undici:7602:22)
at TLSSocket.emit (node:events:508:20)
at emitReadable_ (node:internal/streams/readable:837:12)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
code: undefined,
data: ‘ontent-Type: application/json;charset=UTF-8\r\n’ +
‘Transfer-Encoding: chunked\r\n’ +
‘Connection: keep-alive\r\n’ +
‘Server: Tengine\r\n’ +
‘Vary: Accept-Encoding\r\n’ +
‘Access-Control-Allow-Origin: *\r\n’ +
‘Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS\r\n’ +
‘Access-Control-Allow-Headers: Authorization, Content-Type, x-biz-info, EagleEye-UserData, _csrf, priority\r\n’ +
‘Vary: Origin\r\n’ +