[whatwg] [mimesniff] Sniffing archives

Gordon P. Hemsley gphemsley at gmail.com
Tue Dec 4 09:36:05 PST 2012

On Tue, Dec 4, 2012 at 11:07 AM, Adam Barth <w3c at adambarth.com> wrote:
> On Mon, Dec 3, 2012 at 11:59 PM, Julian Reschke <julian.reschke at gmx.de> wrote:
>> On 2012-12-04 08:40, Adam Barth wrote:
>>> They might otherwise be treated as a type that can be displayed
>>> (rather than downloaded).  Also, some user agents treat downloads of
>> Do you have an example for that case?
>>> ZIP archives differently than other sorts of download (e.g., they
>>> might offer to unzip them).
>> Out of curiosity: which?
> Safari.
> Adam

To be more specific:

(1) Safari doesn't appear to prompt the user for any downloads. It
just automatically downloads any file it can't handle.
(2) If you allow Safari to open "safe" files that it downloads, ZIP
appears to be one of them. Gzip and RAR, however, do not.

So this isn't the most convincing argument.

Gordon P. Hemsley
me at gphemsley.org

More information about the whatwg mailing list