You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
next run dev
Describe the Bug
When
middleware.ts
is present, POST and PUT requests with large payloads to any apis in thepages/api
folder are stuck onpending
.The payload I was using has
Content-Length: 30233
, so even if in default api setting it should not be too big.Screen.Recording.2022-09-02.at.7.18.46.PM.mov
Expected Behavior
POST and PUT requests should be working with middleware present.
Link to reproduction
https://github.com/louisesiqifan/next-js-huge-post
To Reproduce
npm i
npm run dev
The text was updated successfully, but these errors were encountered: