We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
响应头包含不符合规范的头信息,导致chunked的响应体获取失败
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Connection: close Date: Wed, 24 Apr 2024 06:32:55 GMT Vary: Accept-Encoding Sso-Version: 1.0 Expires: Wed, 24 Apr 2024 06:32:55 GMT Cache-Control: max-age=0 Access-Control-Allow-Origin: http://xxx.aaa.com Access-Control-Allow-Methods: GET, POST, OPTIONS Access-Control-Allow-Credentials: true Access-Control-Allow-Headers: Location,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,Oidc-Temp-Ticket,Sec-Fetch-Dest,Sec-Fetch-Mode, Sec-Fetch-Site,TE: Access-Control-Expose-Headers: Location,Set-Cookie,Content-Type,Content-Length,Content-Range,Oidc-Temp-Ticket Access-Control-Max-Age: 1728000
在执行_chunked_body_reader时,从sock中读取的第一行数据是:Access-Control-Expose-Headers: Location,Set-Cookie,Content-Type,Content-Length,Content-Range,Oidc-Temp-Ticket
在使用reader读取响应体时,报unable to read chunksize 错误
怀疑是在_receive_headers的时候从sock读取响应头到 Sec-Fetch-Site,TE: 行,发生了错误,结束了读取。 在读取响应体时从异常头的下一行开始读取
The text was updated successfully, but these errors were encountered:
No branches or pull requests
响应头包含不符合规范的头信息,导致chunked的响应体获取失败
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Date: Wed, 24 Apr 2024 06:32:55 GMT
Vary: Accept-Encoding
Sso-Version: 1.0
Expires: Wed, 24 Apr 2024 06:32:55 GMT
Cache-Control: max-age=0
Access-Control-Allow-Origin: http://xxx.aaa.com
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Location,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,Oidc-Temp-Ticket,Sec-Fetch-Dest,Sec-Fetch-Mode,
Sec-Fetch-Site,TE:
Access-Control-Expose-Headers: Location,Set-Cookie,Content-Type,Content-Length,Content-Range,Oidc-Temp-Ticket
Access-Control-Max-Age: 1728000
在执行_chunked_body_reader时,从sock中读取的第一行数据是:Access-Control-Expose-Headers: Location,Set-Cookie,Content-Type,Content-Length,Content-Range,Oidc-Temp-Ticket
在使用reader读取响应体时,报unable to read chunksize 错误
怀疑是在_receive_headers的时候从sock读取响应头到 Sec-Fetch-Site,TE: 行,发生了错误,结束了读取。 在读取响应体时从异常头的下一行开始读取
The text was updated successfully, but these errors were encountered: