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

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

From: Roger Hågensen <rescator@emsai.net>
Date: Sat, 31 Jul 2010 04:59:42 +0200
Message-ID: <4C53919E.5010406@emsai.net>
On 2010-07-31 04:52, Boris Zbarsky wrote:
>
>> When I say the "Save As" UI I mean the one you get currently, which
>> varies, some browsers only provide a Save As and Cancel, while others
>> provide Save As with Open and Cancel.
>
> I can't name a single browser that provides an "Open" option if you 
> select "Save As" from the context menu.  Can you?

Not explicitly, but if you click the link for example, but this would 
also allow enhancing the explicit Save As (by letting the browser know 
the filetype more accurately and present My Documents, or My Images etc. 
folder destination if supported by browser obviously)

>
>> So based on your remarks, maybe the spec could state that if a browser
>> believe it can handle the file type then it should present a Open + Save
>> As UI,
>> but if it can not handle the filetype (aka handling un-configured or the
>> user set the browser's settings this way) then it should just present
>> Save As without Open.
>
> So you mean the browser should act as if 
> content-disposition:attachment were specified?  Why not just say that?

Um. Because this (the topic by the original poster) is about exactly 
that? *smiles*


-- 
Roger "Rescator" H?gensen.
Freelancer - http://EmSai.net/
Received on Friday, 30 July 2010 19:59:42 UTC

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