koa-better-http-proxy
koa-better-http-proxy copied to clipboard
Can not proxy multipart request by default
By default, my multipart POST request (upload a file) gets lost, I don't see the parts of my request from the handler.
However, if I set the parseReqBody = false, then I can receive the multipart request from my handler correctly. But !!! the normal post like application/json get lost!
In brief, I can't let it proxy both multipart and application/json request at the same time.
Any ideas?
I have the same problem. Have you managed to find a solution so far? @zshwei
@zshwei @iKonrad and for those who'd encounter this in the future:
I solved the issue by updating scopeContainer.js
like this