-
Notifications
You must be signed in to change notification settings - Fork 774
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not crash in wrangler dev when passing a request object to fe…
…tch (#2597) This reverts and fixes the changes in #1769 which does not support creating requests from requests whose bodies have already been consumed. Fixes #2562
- Loading branch information
1 parent
89d78c0
commit 416babf
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: do not crash in wrangler dev when passing a request object to fetch | ||
|
||
This reverts and fixes the changes in https://github.com/cloudflare/wrangler2/pull/1769 | ||
which does not support creating requests from requests whose bodies have already been consumed. | ||
|
||
Fixes #2562 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters