[webkit-help] DownloadPolicy help

Jack Wootton jackwootton at gmail.com
Fri Mar 12 06:14:29 PST 2010

Thank you for this response.  So in the context of an HTTP error with
MIME-type foo/foo, WebKit makes a policy decision to "download" since it
cannot load the MIME-type foo.  The idea being that the browser would prompt
the user to download the content?

On Thu, Mar 11, 2010 at 6:46 PM, Alexey Proskuryakov <ap at webkit.org> wrote:

> On 11.03.2010, at 8:24, Jack Wootton wrote:
>  2. What specifically is the purpose of WebCore::EPolicyDownload? From the
>> name I kind of assumed that perhaps it was a way of the browser attempting
>> to download an application that can handle the MIME type.
> It's "download this resource". E.g. if you click on a "download" link in
> browser, the client (such as Safari) still needs to decide whether to open
> the referenced resource in a Web page, or to download it. It can also ask
> the user whether to download, and if the user refuses, the client tells
> WebKit to cancel the request.
> - WBR, Alexey Proskuryakov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100312/730ccb4f/attachment.html>

More information about the webkit-help mailing list