diff xml/en/docs/http/ngx_http_headers_module.xml @ 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 a879f261f3db
children 95c3c3bbf1ce
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml
+++ b/xml/en/docs/http/ngx_http_headers_module.xml
@@ -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 @@ add_header Cache-Control private;
 
 <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 @@ A value can contain variables.
 <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>