diff options
author | Zhidao HONG <z.hong@f5.com> | 2023-07-01 12:18:22 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2023-07-01 12:18:22 +0800 |
commit | 458722df55bb9727680b7734e7fff8fb5639db28 (patch) | |
tree | 6f1d628a50e94fd784eaebeefd3f049e3b475dcf /src/nxt_h1proto.c | |
parent | c61ccec7b4926476b2188092e25990e433332688 (diff) | |
download | unit-458722df55bb9727680b7734e7fff8fb5639db28.tar.gz unit-458722df55bb9727680b7734e7fff8fb5639db28.tar.bz2 |
Var: supported HTTP response header variables.
This commit adds the variable $response_header_NAME.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_h1proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index df1f82f9..1dfe4b6e 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -1284,7 +1284,7 @@ nxt_h1p_request_header_send(nxt_task_t *task, nxt_http_request_t *r, size += NXT_WEBSOCKET_ACCEPT_SIZE + 2; } else { - http11 = (h1p->parser.version.s.minor != '0'); + http11 = nxt_h1p_is_http11(h1p); if (r->resp.content_length == NULL || r->resp.content_length->skip) { |