-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
hono.request method does not work in combination with hono/body-limit #2627
Comments
I could fix the error, if I do the same as in body-limit test file by prefix my test files with following workaround, see below. I don't understand why it works. do you have any clue why it's needed for hono/src/middleware/body-limit/index.test.ts Lines 4 to 13 in 4cd2dff
|
@qoomon, if you want, I can work on it later |
That would be awesome, thank you |
This is issue from nodejs, I don't know which part of Hono requires this, I will also take a look on this |
Looks like we need to add the duplex option in `body: Readable stream |
What version of Hono are you using?
4.3.2
What runtime/platform is your app running on?
Node
What steps can reproduce the bug?
What is the expected behavior?
What do you see instead?
Additional information
Same app set up is working without any error when started as a node server and fetch response, see example below
The text was updated successfully, but these errors were encountered: