mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 09:01:18 +03:00
mod_cache: Ignore response headers specified by no-cache=header and
private=header as specified by RFC2616 14.9.1 What is Cacheable. Ensure that these headers are still processed when multiple Cache-Control headers are present in the response. PR 54706 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1478382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
13
modules/cache/cache_util.h
vendored
13
modules/cache/cache_util.h
vendored
@ -292,6 +292,19 @@ apr_status_t cache_remove_lock(cache_server_conf *conf,
|
||||
cache_provider_list *cache_get_providers(request_rec *r,
|
||||
cache_server_conf *conf, apr_uri_t uri);
|
||||
|
||||
/**
|
||||
* Get a value from a table, where the table may contain multiple
|
||||
* values for a given key.
|
||||
*
|
||||
* When the table contains a single value, that value is returned
|
||||
* unchanged.
|
||||
*
|
||||
* When the table contains two or more values for a key, all values
|
||||
* for the key are returned, separated by commas.
|
||||
*/
|
||||
const char *cache_table_getm(apr_pool_t *p, const apr_table_t *t,
|
||||
const char *key);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user