[whatwg] "Content-Disposition" property for <a> tags
ian at hixie.ch
Wed Aug 25 12:09:32 PDT 2010
On Fri, 30 Jul 2010, Dennis Joachimsthaler wrote:
> Having a Content-Disposition property on <a> tags which does the same as
> the HTTP Header. For example changing the file name of the file to be
> downloaded or rather have a image file download rather than it being
> shown in the browser directly.
> This would avoid constructs such as <a href="hi">Download</a> (Right
> click and click save target as... to download).
> It would also eliminate the need to handle such requests with a server
> side scripting engine to change the headers dynamically to enforce
> downloading of the content.
On Fri, 30 Jul 2010, Eduard Pascual wrote:
> Let me complement the proposal with a use case:
This seems like a fine idea. I would recommend registering a new "rel"
type (marked as a "Hyperlink Annotation") and trying to get browsers to
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg