W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2010

[whatwg] "Content-Disposition" property for <a> tags

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 30 Jul 2010 22:17:44 -0400
Message-ID: <4C5387C8.4050203@mit.edu>
On 7/30/10 9:57 PM, Roger H?gensen wrote:
> <a href="stuff.zip" download>This defaults to application/octet-stream
> and clicking the link will behave as if the user selected Save As from
> UI context menu!</a>

I would object to implementing this.  I have no problem putting up a 
dialog asking the user whether to save or open in a helper app, but I 
see no reason why I should force saving on the user, as a browser 
developer.  If the user wants to open your zip in a zip reader, why 
shouldn't he?

Received on Friday, 30 July 2010 19:17:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:25 UTC