From: Christian Dywan Date: Tue, 20 Oct 2009 15:30:07 +0000 (+0200) Subject: Don't check the status code when storing in the cache X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10b6cbb50ad5bb29f564e15da153054bb1921dca;p=midori Don't check the status code when storing in the cache --- diff --git a/extensions/web-cache.c b/extensions/web-cache.c index 8f439e81..09cee1df 100644 --- a/extensions/web-cache.c +++ b/extensions/web-cache.c @@ -148,7 +148,7 @@ web_cache_session_request_unqueued_cb (SoupSession* session, /* g_debug ("request unqueued: %d", msg->status_code); */ - if (uri && msg->status_code != SOUP_STATUS_OK && g_str_has_prefix (uri, "http")) + if (uri && g_str_has_prefix (uri, "http")) { SoupMessageHeaders* hdrs = msg->response_headers; const gchar* mime_type = soup_message_headers_get_content_type (hdrs, NULL);