Skip to content
New issue

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

response status text is incorrect in fetch/content-length/api-and-duplicate-headers.any.js #29458

Open
CYBAI opened this issue Mar 3, 2023 · 0 comments

Comments

@CYBAI
Copy link
Member

CYBAI commented Mar 3, 2023

Currently, we failed at the first assertion of statusText in this test.

image

After looking into it, the root cause is that we're using the canonical_reason in http crate which will always return the standardised reason-phrase (e.g. OK for 200).

However, as mentioned in hyperium/http#345 (comment), reason-phrase doesn't exist in HTTP2 or HTTP3; because of this, http crate might not support custom reason phrase.

@CYBAI CYBAI added the A-network label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant