Re: Enable compression of a blob to .zip file

On 2011-10-31 20:20, Charles Pritchard wrote:
> On 10/31/11 11:34 AM, Boris Zbarsky wrote:
>> On 10/31/11 1:42 PM, Charles Pritchard wrote:
>>> I'm almost certain that somewhere, it is specified that the browser
>>> should sniff the first few bytes of the file to see
>>> if it is compressed.
>>
>> I don't believe it is. In fact, doing that would contradict the specs
>> as they stand, to my knowledge.
>>
>> I could be wrong, of course, but in that case citation needed...
>>
>> -Boris
>>
> Well I've failed to find a citation. I will post one if I find it.
>
> In the meantime: Blob and Data uris can and should have sniffing for
> image/svg+xml.
> ...

Nope. If you need gzipped SVG in data URIs, the right thing to do is to 
either extend data URIs to support that, or to mint a separate media type.

Best regards, Julian

Received on Wednesday, 30 November 2011 15:06:21 UTC