| 155 | } |
| 156 | |
| 157 | void |
| 158 | getCacheControl(CacheControlResult *result, HttpRequestData *rdata, const OverridableHttpConfigParams *h_txn_conf, char *tag) |
| 159 | { |
| 160 | rdata->tag = tag; |
| 161 | CacheControlTable->Match(rdata, result); |
| 162 | |
| 163 | if (h_txn_conf->cache_ignore_client_no_cache) { |
| 164 | result->ignore_client_no_cache = true; |
| 165 | } |
| 166 | |
| 167 | if (h_txn_conf->cache_ignore_server_no_cache) { |
| 168 | result->ignore_server_no_cache = true; |
| 169 | } |
| 170 | |
| 171 | if (!h_txn_conf->cache_ignore_client_cc_max_age) { |
| 172 | result->ignore_client_cc_max_age = false; |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | // |
| 177 | // End API functions |
no test coverage detected