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 improvements #317
Comments
We gave up on aligning with fetch api: #106 So we'd rather not add anything to the api unless there's a real-world user scenario to prove the necessity. |
I filed this because I ended up wanting all 3 when trying out network interception apis for the first time. If I ran into it in < 5min I suspect others will want it to. use cases:
|
BTW, we should try to keep features requests open so people can find and subscribe to them more easily. Also helps us prioritize! |
That's not what response.type is: https://developer.mozilla.org/en-US/docs/Web/API/Response/type The let redirected = 300 <= response.statusCode && response.statusCode <= 399;
Ahh, I see. We should plumb this from interception then.
That's right, however we don't want to be buried under the unmanageable pile of issues. For this reason we aggressively close everything we don't feel like implementing. It's totally fine to comment or reopen to argue :) |
Yep, |
|
@itaysabato we don't have status text for the intercepted requests; however, we'll get it for free once a huge on-going refactoring of network layer in chromium completes. No good ETA on this though. |
For further parity with https://developer.mozilla.org/en-US/docs/Web/API/Response, these would be useful to add
Response.statusText
Response.redirected
Request.type
The text was updated successfully, but these errors were encountered: