mime-type-override.js: override how an HTTP request is handled
commitf4eb308dc24bf63685f7949fe05dc03d1c03dc3c
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>
Thu, 5 Jun 2008 19:58:03 +0000 (5 15:58 -0400)
committerJeremy Maitin-Shepard <jeremy@jeremyms.com>
Thu, 5 Jun 2008 19:58:03 +0000 (5 15:58 -0400)
tree8b2891019af41277775af10074a621f4ba7b8f6d
parentc586447f2f0b440437f0e4d19a74ba37239eaa11
mime-type-override.js: override how an HTTP request is handled

This facility, based on the "Open in Browser" extension, allows a
one-shot specification to force HTTP requests for a particular URL to
be viewed using Gecko itself as a particular specified MIME type, as
opposed to either being downloaded, handled with an external program,
or viewed in Gecko using the server-specified MIME type.
modules/mime-type-override.js [new file with mode: 0644]