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 <[email protected]> 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
>
>


-- 
Regards
Jack
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to