next.js
a875d5a4 - Use `decodeReplyFromBusboy` in node runtime (#48686)

Commit
3 years ago
Use `decodeReplyFromBusboy` in node runtime (#48686) When sending a multipart form data, we currently wait until the entire update finishes before we decode it via `decodeReply`. This way is universal in both runtimes (as we don't have `decodeReplyFromBusboy` in Edge), but also not efficient. This PR changes it to use `decodeReplyFromBusboy` in the Node runtime, which can decode the payload during streaming as well as file update support.
Author
Parents
Loading