how to use xhr.overrideMimeType in Chrome / IE Edge?
问题 I have an issue with sending a file (part of a request in form data format). The issue seems coming from the fact that only in Chrome for Linux the file (which is CVS file, with .csv extension and basically just text) is sent with mimetype (Content-type in request body) Content-Type: application/octet-stream So, I am trying to override the mimetype to match the same sent by Chrome on Linux which is text/csv . However the mimetype is apparently not overriden and still send as octet-stream . My