For confirmation:
Is it allowed to use Content-Type header other than "application/octet-stream" and "text/plain; charset=dropbox-cors-hack" when uploading file using Dropbox v2 API (https://content.dropboxapi.com/2/files/upload)?
I have tried using other Content-Type value (example: multipart_form_data) but an error is always returned.
Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "text/plain; charse=dropbox-cors-hack". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".
Specification regarding the Content-Type value for uploading files using Dropbox v2 API.
That only these Content-Type values can be used.
"application/octet-stream", "text/plain; charset=dropbox-cors-hack"