This is kind of a slide out but still helpful. I realized that if you have a "Content-type": "multipart/form-data"
or "Content-type": ""application/x-www-form-urlencoded"
been set in the header, removing it will solve the issue, the form submits and passes it own headers content-type.
Enjoy ✌