Raghu Angadi wrote:
On Jira, some .patch attachments have Content-Type header "x-diff" some have "text/plain". For e.g. the patches I submit always have expected "text/x-diff". If it is "x-diff", my Firefox opens in gVim, which is what I prefer. Anyone know what affects this header?

According to http://jira.atlassian.com/browse/JRA-871#action_24056:

* if the browser set the content type to be 'application/octet-stream', then guess the correct mime type based on the files extension
    * else use the mime type set by the browser.

So the variations we see are from folks using different browsers and OSes when posting patches.

Doug

Reply via email to