# HG changeset patch # User Ruslan Ermilov # Date 1353394331 0 # Node ID a879f261f3db2f11fa40365e7e829ff8ed3480ab # Parent d71e56d56ada7647dca6c722dbb22183f6511990 Reduced unnecessary diffs between "add_header" and "expires" texts. diff --git a/xml/en/docs/http/ngx_http_headers_module.xml b/xml/en/docs/http/ngx_http_headers_module.xml --- a/xml/en/docs/http/ngx_http_headers_module.xml +++ b/xml/en/docs/http/ngx_http_headers_module.xml @@ -73,8 +73,8 @@ A value can contain variables. Enables or disables adding or modifying the
Expires
-and
Cache-Control
response header fields provided -that the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. +and
Cache-Control
response header fields provided that +the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. A parameter can be a positive or negative time.
diff --git a/xml/ru/docs/http/ngx_http_headers_module.xml b/xml/ru/docs/http/ngx_http_headers_module.xml --- a/xml/ru/docs/http/ngx_http_headers_module.xml +++ b/xml/ru/docs/http/ngx_http_headers_module.xml @@ -73,8 +73,8 @@ add_header Cache-Control private; Разрешает или запрещает добавлять или менять поля
Expires
Cache-Control
в заголовке ответа, при условии, что -код ответа равен 200, 204, 206, 301, 302, 303, 304 или 307. +и
Cache-Control
в заголовке ответа при условии, что код ответа +равен 200, 204, 206, 301, 302, 303, 304 или 307. В качестве параметра можно задать положительное или отрицательное время.