The application was uploading an audio file, the ContentType of which is audio/mpeg. The default configuration was uploading the file as octet/stream. This would cause a browser to download the file, whereas we needed the ability to play the file directly from the browser.

The solution, albeit undocumented, is pretty simple.

Let’s assume you have an MP3 file, test.mp3 that you want to upload a public file that a user can play by simply visiting a url in the browser.