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

> So we'd double every mime type by having a z equivalent. That doesn't sound useful.

Thanks for your dismissive reply. I just explained precisely why it *is* not only useful but needed. SVG is unique in that as a plain text format a compressed version of the same content was adopted (standardized?) as a first-tier file format, directly generated by various editors and encoders, without *any* effort to mask the compression type.

Take for example PNG, which is *also* losslessly compressed (LZW) but that compression is *internal* to the file format, e.g. the magic bits for PNG files say "PNG" and not "LZW".

So, yes, we'd double every mime type by having a z equivalent **but only for MIME types that are shared by two entirely different file types that shouldn't have shared a single MIME in the first place**; I think that's what you meant to say.

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

Received on Saturday, 8 June 2019 16:58:11 UTC