When you want to send files using HttpMultipartMode.BROWSER_COMPATIBLE it seems that the Content-Type is ignored. It seems that the browsers( tested with firefox and Internet explorer) are sending the content-type header only for files.
It seems that some sites are sensitive about this issue and they choose the content-type for a file as a text/plain in case I don't specify one.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Won't Fix [ 2 ]|
|Workflow||jira [ 12512665 ]||Default workflow, editable Closed status [ 12558043 ]|
|Workflow||Default workflow, editable Closed status [ 12558043 ]||jira [ 12580866 ]|
|Workflow||jira [ 12580866 ]||Default workflow, editable Closed status [ 12606720 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|