[whatwg] a rel=attachment

(These e-mails were sent after I started working on the previous one.)

On Wed, 20 Jul 2011, Chris Bentzel wrote:
>
> Who should be trusted for filename if the one specified by <a> on the 
> referring page differs from the one specified by Content-Disposition on 
> the to-be-downloaded resource?

I've specified that the header wins.


On Wed, 20 Jul 2011, Julian Reschke wrote:
> 
> That being said, if you want to go down the road, make it clear how the 
> file name actually is extracted from the header field in an 
> interoperable way.

That isn't really in scope for the HTML spec, it's something either for 
the HTTP spec or the Content-Disposition spec (if HTTP doesn't define th 
header itself) to define.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 22 July 2011 00:00:33 UTC