Lines Matching defs:reason

822     const char *reason, **eh;
841 reason = NULL;
1033 reason = apr_psprintf(p, "Response status %d", r->status);
1037 if (reason) {
1042 reason = apr_pstrcat(p, "Broken expires header: ", exps, NULL);
1047 reason = "Expires header already expired; not cacheable";
1054 reason
1062 reason = "Query string present but no explicit expiration time";
1069 reason = "HTTP Status 304 Not Modified";
1081 reason = "No Last-Modified; Etag; Expires; Cache-Control:max-age or Cache-Control:s-maxage headers";
1088 reason = "Cache-Control: no-store present";
1095 reason = "Cache-Control: private present";
1107 reason = "Authorization required";
1110 reason = "Vary header contains '*'";
1113 reason = "environment variable 'no-cache' is set";
1117 reason = "r->no_cache present";
1131 reason = "updated entity is older than cached entity";
1155 reason = apr_pstrcat(r->pool, "contradiction: 304 Not Modified; "
1186 if (reason && r->status == HTTP_NOT_MODIFIED && cache->stale_handle) {
1191 r->unparsed_uri, reason);
1197 reason));
1223 if (reason) {
1226 reason);
1230 reason);
1766 apr_table_t *headers, ap_cache_status_e status, const char *reason)
1778 apr_table_setn(r->subprocess_env, AP_CACHE_HIT_ENV, reason);
1782 apr_table_setn(r->subprocess_env, AP_CACHE_REVALIDATE_ENV, reason);
1786 apr_table_setn(r->subprocess_env, AP_CACHE_MISS_ENV, reason);
1790 apr_table_setn(r->subprocess_env, AP_CACHE_INVALIDATE_ENV, reason);
1795 apr_table_setn(r->subprocess_env, AP_CACHE_STATUS_ENV, reason);
1819 "\"%s\" from %s", reason, r->server->server_hostname));
2701 const char *reason), (h, r, headers, status, reason),