summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_variables.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2023-08-09 14:37:16 +0800
committerZhidao HONG <z.hong@f5.com>2023-08-09 14:37:16 +0800
commita28bef097cd63da3bbb375ef0283e65be41a88ff (patch)
tree8553e74c050a9747bdba928cbaec82ee6d15cb5d /src/nxt_http_variables.c
parent9f04d6db630a22658581cbe7a9d28ecdb13d8de9 (diff)
downloadunit-a28bef097cd63da3bbb375ef0283e65be41a88ff.tar.gz
unit-a28bef097cd63da3bbb375ef0283e65be41a88ff.tar.bz2
HTTP: controlling response headers support.
Diffstat (limited to 'src/nxt_http_variables.c')
-rw-r--r--src/nxt_http_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_variables.c b/src/nxt_http_variables.c
index 04e24a4b..46594a6b 100644
--- a/src/nxt_http_variables.c
+++ b/src/nxt_http_variables.c
@@ -137,7 +137,7 @@ nxt_http_unknown_var_ref(nxt_tstr_state_t *state, nxt_var_ref_t *ref,
if (nxt_str_start(name, "response_header_", 16)) {
ref->handler = nxt_http_var_response_header;
- ref->cacheable = 1;
+ ref->cacheable = 0;
str.start = name->start + 16;
str.length = name->length - 16;