Link to home
Start Free TrialLog in
Avatar of eklas
eklas

asked on

Set mime type on client side

Hi

I have a problem with mime types.
I use a browser to show local files.
No www server involved.
Can I temporary change the mime-type for
a file extension? For example, if I want to
show the html source, I would like to view
a html doc using mime "text/plain" instead
of "text/html". Can this be done with javascript
(or less)? Browser-independent?

/klas
ASKER CERTIFIED SOLUTION
Avatar of sereda
sereda

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial