From 8590d9d615d0b83cf076421d1e18c64ca66a1a44 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 8 Feb 2018 09:54:18 +0300 Subject: Basic support of the Link response header. --- src/http/ngx_http_variables.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/http/ngx_http_variables.c') diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index ab82177ca..669600ace 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -318,6 +318,9 @@ static ngx_http_variable_t ngx_http_core_variables[] = { { ngx_string("sent_http_cache_control"), NULL, ngx_http_variable_headers, offsetof(ngx_http_request_t, headers_out.cache_control), 0, 0 }, + { ngx_string("sent_http_link"), NULL, ngx_http_variable_headers, + offsetof(ngx_http_request_t, headers_out.link), 0, 0 }, + { ngx_string("limit_rate"), ngx_http_variable_request_set_size, ngx_http_variable_request_get_size, offsetof(ngx_http_request_t, limit_rate), -- cgit