I need to stream a file from Salesforce in our webapplication. To make sure the file is properly opened, I have to set Content-Type header.
How to retrieve the Content-Type (MIME) of a file?
I expect values like:
How to get these values? I am using the Java and a SOAP client to retrieve the data.