[Xfce4-commits] <midori:master> Don't check the status code when storing in the cache
Christian Dywan
noreply at xfce.org
Tue Oct 20 17:58:02 CEST 2009
Updating branch refs/heads/master
to 10b6cbb50ad5bb29f564e15da153054bb1921dca (commit)
from ea6ae9b9e68db5ca5e2bb8b342372cdff34fa969 (commit)
commit 10b6cbb50ad5bb29f564e15da153054bb1921dca
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Oct 20 17:30:07 2009 +0200
Don't check the status code when storing in the cache
extensions/web-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extensions/web-cache.c b/extensions/web-cache.c
index 8f439e8..09cee1d 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);
More information about the Xfce4-commits
mailing list