Don't check the status code when storing in the cache

This commit is contained in:
Christian Dywan 2009-10-20 17:30:07 +02:00
parent ea6ae9b9e6
commit 10b6cbb50a

View 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);