mirror of
https://github.com/apache/httpd.git
synced 2025-11-05 05:30:39 +03:00
Support Cache-Control: only-if-cached, as per RFC2616 14.9.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
8
modules/cache/mod_cache.c
vendored
8
modules/cache/mod_cache.c
vendored
@@ -199,9 +199,7 @@ static int cache_quick_handler(request_rec *r, int lookup)
|
||||
}
|
||||
else {
|
||||
/* error */
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
|
||||
"cache: error returned while checking for cached "
|
||||
"file by '%s' cache", cache->provider_name);
|
||||
return rv;
|
||||
}
|
||||
return DECLINED;
|
||||
}
|
||||
@@ -478,9 +476,7 @@ static int cache_handler(request_rec *r)
|
||||
}
|
||||
else {
|
||||
/* error */
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
|
||||
"cache: error returned while checking for cached "
|
||||
"file by %s cache", cache->provider_name);
|
||||
return rv;
|
||||
}
|
||||
return DECLINED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user