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

fix: null-body responses enforced in createResponseListener instead o… #1895

Merged
merged 13 commits into from
Dec 1, 2023

Conversation

mattcosta7
Copy link
Contributor

@mattcosta7 mattcosta7 commented Nov 28, 2023

closes #1894
fixes #1893

This should fix passthrough errors specifically, where the body was a stream and the status code cannot support a body.

@kettanaito
Copy link
Member

Does this change negate #1894? If so, we can mark it as "Closes #1894".

@mattcosta7 mattcosta7 self-assigned this Nov 29, 2023
Copy link
Member

@kettanaito kettanaito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@mattcosta7 mattcosta7 merged commit ed09722 into main Dec 1, 2023
10 checks passed
@mattcosta7 mattcosta7 deleted the fix-null-body-responses branch December 1, 2023 13:08
@kettanaito
Copy link
Member

Released: v2.0.10 🎉

This has been released in v2.0.10!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Faulty 304 handling results in Failed to construct 'Response' error
2 participants