Mercurial > hg > nginx-site
changeset 786:b4fc7d571e48
Documented that "add_header" now affects 201 responses.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 19 Dec 2012 10:50:59 +0000 |
parents | d84a97e02b45 |
children | 180a64c709d8 |
files | xml/en/docs/http/ngx_http_headers_module.xml xml/ru/docs/http/ngx_http_headers_module.xml |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ <module name="Module ngx_http_headers_module" link="/en/docs/http/ngx_http_headers_module.html" lang="en" - rev="3"> + rev="4"> <section id="summary"> @@ -52,7 +52,7 @@ <para> 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. </para> @@ -74,7 +74,7 @@ <para> Enables or disables adding or modifying the <header>Expires</header> and <header>Cache-Control</header> 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 <link doc="../syntax.xml">time</link>. </para>
--- 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 @@ <module name="Модуль ngx_http_headers_module" link="/ru/docs/http/ngx_http_headers_module.html" lang="ru" - rev="3"> + rev="4"> <section id="summary"> @@ -52,7 +52,7 @@ <para> Добавляет указанное поле в заголовок ответа при условии, что код ответа -равен 200, 204, 206, 301, 302, 303, 304 или 307. +равен 200, 201, 204, 206, 301, 302, 303, 304 или 307. В значении можно использовать переменные. </para> @@ -74,7 +74,7 @@ <para> Разрешает или запрещает добавлять или менять поля <header>Expires</header> и <header>Cache-Control</header> в заголовке ответа при условии, что код ответа -равен 200, 204, 206, 301, 302, 303, 304 или 307. +равен 200, 201, 204, 206, 301, 302, 303, 304 или 307. В качестве параметра можно задать положительное или отрицательное <link doc="../syntax.xml">время</link>. </para>