From 10b6cbb50ad5bb29f564e15da153054bb1921dca Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 20 Oct 2009 17:30:07 +0200 Subject: [PATCH] Don't check the status code when storing in the cache --- extensions/web-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5