diff options
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r-- | content/fetchcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c index 220359df0..0a630661b 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -376,6 +376,7 @@ void fetchcache_callback(fetch_msg msg, void *p, const void *data, switch (msg) { case FETCH_TYPE: c->total_size = size; + c->http_code = fetch_http_code(c->fetch); mime_type = fetchcache_parse_type(data, ¶ms); if (!mime_type) { msg_data.error = messages_get("NoMemory"); |