Re: [svgwg] A separate MIME type for svgz files is needed (#701)

So I agree that `.svg` and `.svgz` should have separate media types, the file formats themselves are completely different. One is gziped (binary data), the other is XML (text).

Consider a system which allows a user to upload files via HTTP POST or PUT, perhaps that system wants to do something special with XML and/or text documents. 

When the file is uploaded, the Content Type in the HTTP request is set to `image/svg`, but the server now has no idea if it is receiving an `svg` or `svgz` file.
The server would have to do extra file-type determination just for SVG, whereas for the majority of other formats, using the Media Type is sufficient. This seems very silly!

-- 
GitHub Notification of comment by adamretter
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/701#issuecomment-727618549 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 15 November 2020 18:56:04 UTC