Is it possible to change the content-type from within the browser?
Use-case: bitbucket & github both allow you to view the "raw" form of documents stored in the repositories. These are returned with Content-type: text/plain
. However, sometimes these are HTML documents and I'd like to view them rendered as HTML in this case.
The important point is that I can't change how the server returns Content-type
.
(this answer gives a workaround for github, but not for bitbucket)