我们可以在不支持 formData 的 IE 9 浏览器中构建类似于下面的请求吗?
POST /someUrl
Content-Type: multipart/mixed; boundary=xyz
--xyz
Content-Disposition: form-data; name="meta-data"
Content-Type: application/json; charset=UTF-8
Content-Transfer-Encoding: 8bit
{
"name": "value"
}
--xyz
Content-Disposition: form-data; name="file-data"; filename="file.properties"
Content-Type: text/xml
Content-Transfer-Encoding: 8bit
... File Data ...