If request to resources where blocked by a proxy or could not bedelivered
properly vimb considered these responses without any mime type as downloads.
WebKitWebFrame *frame, WebKitNetworkRequest *request, char *mime_type,
WebKitWebPolicyDecision *decision)
{
+ /* don't start download if request failed or stopped by proxy */
+ if (!mime_type || *mime_type == '\0') {
+ return false;
+ }
if (webkit_web_view_can_show_mime_type(webview, mime_type) == false) {
webkit_web_policy_decision_download(decision);