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

[whatwg] a rel=attachment

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 15 Jul 2011 19:43:45 -0400
Message-ID: <CABirCh91yiSCft2gR+6eRPc85GPjDKWjALh+sMFMuxRTJQvhVQ@mail.gmail.com>
2011/7/15 Jonas Sicking <jonas at sicking.cc>

> It definitely is an interesting usecase that Glenn brought up about
> being able to specify a save-as name without otherwise modifying the
> behavior of a reference. However that seems like a much more rare
> usecase and so not the one we should optimize for.

Bear in mind that "optimize for" doesn't mean "support at all"; if
download=filename is used, it seems unlikely that there will ever be *any*
client-side way to supply the filename without implying attachment, which is
a very different thing than "not optimizing for it".

I don't feel strongly enough about this to press it further, but <a
href=ugly download filename=pretty> also seems fairly clean, and avoids
combining parameters that really are orthogonal to one another.

Glenn Maynard
Received on Friday, 15 July 2011 16:43:45 UTC

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