changeset 762:3974a50b2142

Documented that "expires" adds or modifies headers only on certain response codes.
author Sergey Budnevitch <sb@waeme.net>
date Tue, 13 Nov 2012 08:54:50 +0000
parents 84740807c806
children cd581dbdaf76
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(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml	Mon Nov 12 07:50:47 2012 +0000
+++ b/xml/en/docs/http/ngx_http_headers_module.xml	Tue Nov 13 08:54:50 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="2">
+        rev="3">
 
 <section id="summary">
 
@@ -73,7 +73,8 @@
 
 <para>
 Enables or disables adding or modifying the <header>Expires</header>
-and <header>Cache-Control</header> response header fields.
+and <header>Cache-Control</header> 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
 <link doc="../syntax.xml">time</link>.
 </para>
--- a/xml/ru/docs/http/ngx_http_headers_module.xml	Mon Nov 12 07:50:47 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_headers_module.xml	Tue Nov 13 08:54:50 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_headers_module"
         link="/ru/docs/http/ngx_http_headers_module.html"
         lang="ru"
-        rev="2">
+        rev="3">
 
 <section id="summary">
 
@@ -73,7 +73,8 @@
 
 <para>
 Разрешает или запрещает добавлять или менять поля <header>Expires</header>
-и <header>Cache-Control</header> в заголовке ответа.
+и <header>Cache-Control</header> в заголовке ответа, при условии, что
+код ответа равен 200, 204, 206, 301, 302, 303, 304 или 307.
 В качестве параметра можно задать положительное или отрицательное
 <link doc="../syntax.xml">время</link>.
 </para>