Replies: 1 comment 3 replies
-
Axios 0.26 and later ignores the content type provided by the user for the FormData payload, browsers set this header themselves. So I'm not sure how it could work for you. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question: is there a way to send a multipart PUT with a value other than what gets hard-coded in lib/core/Axios.js line 184
'Content-Type': 'multipart/form-data'
In versions of axis 0.26.x and earlier, I could change that to what my 3rd-party server requires: 'multipart/mixed', but now I can not. I would like to use the 1.x.x version to get past all the security issues flagged in earlier versions.
Beta Was this translation helpful? Give feedback.
All reactions