Mercurial > hg > nginx
diff src/http/ngx_http_variables.c @ 7199:6ba68ad8b24c
Basic support of the Link response header.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 08 Feb 2018 09:54:18 +0300 |
parents | 924b6ef942bf |
children | 0b1eb40de6da |
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c Wed Feb 07 16:44:29 2018 +0300 +++ b/src/http/ngx_http_variables.c Thu Feb 08 09:54:18 2018 +0300 @@ -318,6 +318,9 @@ { 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),