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

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