diff options
author | Ruslan Ermilov <ru@nginx.com> | 2018-02-08 09:54:18 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2018-02-08 09:54:18 +0300 |
commit | 8590d9d615d0b83cf076421d1e18c64ca66a1a44 (patch) | |
tree | 2575b8835580721af8ab841c09d7480d30132057 /src/http/ngx_http_variables.c | |
parent | d31d547dba886fcbc3738e649b1667e65170e6e1 (diff) | |
download | nginx-8590d9d615d0b83cf076421d1e18c64ca66a1a44.tar.gz nginx-8590d9d615d0b83cf076421d1e18c64ca66a1a44.zip |
Basic support of the Link response header.
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r-- | src/http/ngx_http_variables.c | 3 |
1 files changed, 3 insertions, 0 deletions
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), |