Home | Legacy Firefox Extensions | Content Policy | Contact

Force Content-Type


An extension to force the Content-Type of URLs.

It's useful to avoid the "tag soup" when you are developing a XHTML webpage and want Firefox to use its internal XML parser. If the webserver is not correctly configured, it will serve the page with a "text/html" Content-Type (a tag soup), instead of sending it as "application/xhtml+xml", and therefore avoiding Firefox to treat the page as pure XML.

"Force Content-Type" allows you to define the Content-Type of some URLs (using Regular Expressions), overriding the webserver's incorrect Content-Type.

Supported locales:
- Basque
- English
- Spanish

Download files:


This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.