Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3193

Re: How is content-type header determined for file uploads?

$
0
0

If we look into sap.ui.unified.FileUploader we see that the mime type is retrieved from the File API.

 

Using the parameters provided by the events change and beforeUploadStarts of sap.m.UploadCollection I was able to add the content-type: application/unknown header for files which had no mime-type determined by the File API of the Browser.


Viewing all articles
Browse latest Browse all 3193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>