W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Adding Content-Disposition header to File.urn response

From: Jian Li <jianli@chromium.org>
Date: Tue, 23 Mar 2010 16:57:28 -0700
Message-ID: <a95818c31003231657h7e35db7bi344ab7d121b7df7@mail.gmail.com>
To: arun@mozilla.com, Web Applications Working Group WG <public-webapps@w3.org>

We probably have already discussed this: adding the Content-Disposition
header into the response when reading File.urn resource. But since this is
not currently documented in the spec, I want to ping you guys to make sure
we are all in the same page.

When the header "Content-Dispositon: attachment" is added, the UA could
either trigger the inline replacement or initiate the download depending on
the different element type. For IMG/INPUT/VIDEO/SCRIPT/LINK, our UA is doing
the replacement inline. For others like IFRAME/LOCATION, our UA will
initiate the download. Are these behaviors you also expect for your UA?

In addition, do we want to add the file name to the C-D header?

I've heard that there is a discussion on setting C-D header pragmatically.
Do we want to go along this way?


Received on Tuesday, 23 March 2010 23:57:56 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:23 UTC