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
I found a small inconsistency, in the browser or Cloudflare Worker this is valid:
new Reponse("", {status: undefined});
And results in a status 200 response, in Miniflare it's a TypeError without a message.
TypeError
The text was updated successfully, but these errors were encountered:
Hey! 👋 This looks like an error in undici, the package Miniflare uses to provide fetch, Response, etc. I'd suggest you open an issue there. 🙂
undici
fetch
Response
import { Response } from "undici"; new Response("", { status: undefined }); // throws TypeError
Sorry, something went wrong.
I submitted a PR and it got approved and merged 🥳 nodejs/undici#1100. I'll ping here again when a new release is minted.
Bump undici to 4.10.2, closes #84, closes #91
4.10.2
40afe5e
Hey! 👋 miniflare@2.0.0-rc.2 has just been released, including the fix for this. You can find the changelog here.
miniflare@2.0.0-rc.2
b5c000e
No branches or pull requests
I found a small inconsistency, in the browser or Cloudflare Worker this is valid:
And results in a status 200 response, in Miniflare it's a
TypeError
without a message.The text was updated successfully, but these errors were encountered: