Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Can not proxy multipart request by default #22

Open
zshwei opened this issue Mar 15, 2019 · 2 comments
Open

Can not proxy multipart request by default #22

zshwei opened this issue Mar 15, 2019 · 2 comments

Comments

@zshwei
Copy link

zshwei commented Mar 15, 2019

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?

@iKonrad
Copy link

iKonrad commented Jul 28, 2019

I have the same problem. Have you managed to find a solution so far? @zshwei

@keymandll
Copy link

@zshwei @iKonrad and for those who'd encounter this in the future:

I solved the issue by updating scopeContainer.js like this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants