# HG changeset patch # User Ruslan Ermilov # Date 1355914259 0 # Node ID b4fc7d571e486321a1c37a07e0c7fec5946a4357 # Parent d84a97e02b45db7338cb077f0ccb9f5568e9afe3 Documented that "add_header" now affects 201 responses. diff -r d84a97e02b45 -r b4fc7d571e48 xml/en/docs/http/ngx_http_headers_module.xml --- a/xml/en/docs/http/ngx_http_headers_module.xml Tue Dec 18 20:03:34 2012 +0000 +++ b/xml/en/docs/http/ngx_http_headers_module.xml Wed Dec 19 10:50:59 2012 +0000 @@ -10,7 +10,7 @@ + rev="4">
@@ -52,7 +52,7 @@ Adds the specified field to a response header provided that -the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. +the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. A value can contain variables. @@ -74,7 +74,7 @@ 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. +the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. A parameter can be a positive or negative time.
diff -r d84a97e02b45 -r b4fc7d571e48 xml/ru/docs/http/ngx_http_headers_module.xml --- a/xml/ru/docs/http/ngx_http_headers_module.xml Tue Dec 18 20:03:34 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_headers_module.xml Wed Dec 19 10:50:59 2012 +0000 @@ -10,7 +10,7 @@ + rev="4">
@@ -52,7 +52,7 @@ Добавляет указанное поле в заголовок ответа при условии, что код ответа -равен 200, 204, 206, 301, 302, 303, 304 или 307. +равен 200, 201, 204, 206, 301, 302, 303, 304 или 307. В значении можно использовать переменные. @@ -74,7 +74,7 @@ Разрешает или запрещает добавлять или менять поля
Expires
и
Cache-Control
в заголовке ответа при условии, что код ответа -равен 200, 204, 206, 301, 302, 303, 304 или 307. +равен 200, 201, 204, 206, 301, 302, 303, 304 или 307. В качестве параметра можно задать положительное или отрицательное время.