Closed Bug 273049 Opened 20 years ago Closed 20 years ago

use appropriate MIME types

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 118677

People

(Reporter: annevk, Unassigned)

Details

mozilla.org should use correct MIME types for RDF and XML files and not rely on
the bugs of Mozilla products.

For example, the 'text/xml' MIME type defaults to UTF-8 in Mozilla even though
it should default to US-ASCII. 'application/xml' doesn't have this problem.
Also, RDF files should use 'application/rdf+xml' and not 'text/xml'.

I propose adding the following lines (other lines might need to be removed or
replaced) to httpd.conf or the root .htaccess, though the latter would be a less
optimal solution it would probably work cross-mirror.

 AddType application/xml .xml
 AddType application/rdf+xml .rdf

If these things take time, we might want to add the MIME type for Atom files as
well:

 AddType application/atom+xml .atom
*** This bug has been marked as a duplicate of 118677 ***

*** This bug has been marked as a duplicate of 118677 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.