Simon Fraser <[EMAIL PROTECTED]> writes:
> There are cases in which we need to load a document with a
> different MIME type than the one sent by the HTTP server,
> or deduced from the file extension (e.g. loading from file).
> Examples are the display of .js files in the browser as raw
> text, or the editing of .js or other text-format files in the
> editor.
> 
> Is there a way to do this?

It would actually be pretty cool to have UI to such a feature in the
browser proper as well.  I can't count the number of times I've gone
to sites and the server admin has improperly mime-typed text files (eg 
ones name README).  It would be a fine thing to have the unknown
content-type dialog box have "view-as-text" and "view-as-html"
radiobuttons in addition to the "save" and "open with" buttons.

Dan

Reply via email to