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

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

From: Dennis Joachimsthaler <dennis@efjot.de>
Date: Mon, 02 Aug 2010 18:05:53 +0200
Message-ID: <op.vgtiz3g048yz2f@dennis>
Jeremy Keith <jeremy at adactio.com> wrote:

> Dennis wrote:
>> ...
> Hang on... isn't the mechanism for this already available via the "type"  
> attribute?
>
> For example:
>
> <a href="/path/to/image.jpg" type="image/jpeg">Full size image</a>

That wouldn't help in this case...

> A browser could offer a preference setting, for example:
>
> "Always download the following types of files, rather than opening in  
> the browser:
>
> * images	[x]
> * movies		[  ]
> ...etc."

Yes, but that wouldn't help since I want to force downloads regardless
of the browser settings. Maybe it would do if the type was set to
application/octet-stream, since those, by default, always get downloaded.
Received on Monday, 2 August 2010 09:05:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC