Hi,
In my application I use the sap.m.UploadCollection for uploading files to the server.
The upload URL which is used for the POST request is my OData service on SAP Gateway.
In Uploading files via gateway refused if content-type header not set I have detailed that gateway refuses the upload if the request does not contain the content-type header.
Since I also allow users to upload some uncommon file types like .pages no content-type is determined in such cases.
Who is responsible to determine the content type (MIME type) for file uploads?
Is it the browser, or the UI5 framework or my application itself?