diff options
Diffstat (limited to '')
-rw-r--r-- | modules/cache/mod_cache.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index eb70b48eae..0ab6e3146b 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -122,10 +122,12 @@ static int cache_quick_handler(request_rec *r, int lookup) return DECLINED; } - /* Since we're in the quick handler, authorization will not have been - * processed through normal channels yet. Just decline the request if - * it's trying to authorize. */ + /* find certain cache controlling headers */ auth = apr_table_get(r->headers_in, "Authorization"); + + /* First things first - does the request allow us to return + * cached information at all? If not, just decline the request. + */ if (auth) { return DECLINED; } |