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

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

From: James May <whatwg@fowlsmurf.net>
Date: Tue, 3 Aug 2010 15:06:35 +1000
Message-ID: <AANLkTi=X8bKF0kY5dy5UE_aeYGRF8E7vV3S_0KnTKpsL@mail.gmail.com>
Perhaps to avoid the "legacy baggage" it could be a simple attribute

eg. <a href="blah" download>

This would prevent duplicating 'type', and bringing in all the
"knowledge" people seem to not have about how 'content-disposition'
works in headers.

or even an extension of target?

eg. <a href="blah" target="_save">

Then it would be clear that it's only a hint, like the other target values.

-- James

(I accidentally sent this to the wrong address before sorry for the dupe)

On 3 August 2010 03:37, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 8/2/10 1:15 PM, Aryeh Gregor wrote:
>> If you don't agree that this use-case is worth adding the feature for,
>> do you think that:
>> 3) Something else?
> For the use case your describe, it might just make more sense for browsers
> to support Content-Disposition on data: URIs directly somehow... ?Maybe.
> -Boris
Received on Monday, 2 August 2010 22:06:35 UTC

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