Closed Bug 631383 Opened 15 years ago Closed 15 years ago

[amo] Change Content-Type for .svg files to image/svg+xml

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jbalogh, Assigned: oremj)

References

Details

According to http://www.w3.org/TR/SVG/intro.html the MIME type for SVG is "image/svg+xml". We're serving it as text/xml. It appears that Firefox cares about the mimetype for svg. Long live XML!
Blocks: 631072
Assignee: server-ops → jeremy.orem+bugs
Done for pnamo and in puppet. Prod will pick this up next time we run puppet.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
https://addons-cdn.allizom.org/media/img/zamboni/mobile/arrow.svg GET /media/img/zamboni/mobile/arrow.svg HTTP/1.1 Host: addons-cdn.allizom.org User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16 Accept: image/png,image/*;q=0.8,*/*;q=0.5 Accept-Language: en,en-us;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Referer: https://addons-cdn.allizom.org/media/css/zamboni/mobile-min.css?build=073af1b HTTP/1.1 200 OK Server: Apache X-Backend-Server: pm-app-amo24 Vary: User-Agent Cache-Control: max-age=315360000 Content-Type: image/svg+xml ^^^ Verified FIXED
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.