]> spindle.queued.net Git - midori/commitdiff
Don't check the status code when storing in the cache
authorChristian Dywan <christian@twotoasts.de>
Tue, 20 Oct 2009 15:30:07 +0000 (17:30 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 20 Oct 2009 15:30:07 +0000 (17:30 +0200)
extensions/web-cache.c

index 8f439e81f3448b324136e583908f576d44871577..09cee1df28cdd87338fa15935f33f6a388e06ee2 100644 (file)
@@ -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);