Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_headers_module.xml @ 2039:d2969b2f69ae
Added history notes about codes 201, 307, and 308.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 17 Apr 2017 19:57:19 +0300 |
parents | e1f0ef8cff5e |
children | 6ca49554d5fe |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml Mon Sep 18 20:41:28 2017 +0300 +++ b/xml/en/docs/http/ngx_http_headers_module.xml Mon Apr 17 19:57:19 2017 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_headers_module" link="/en/docs/http/ngx_http_headers_module.html" lang="en" - rev="9"> + rev="10"> <section id="summary"> @@ -55,7 +55,8 @@ <para> Adds the specified field to a response header provided that -the response code equals 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308. +the response code equals 200, 201 (1.3.10), 204, 206, 301, 302, 303, 304, +307 (1.1.16, 1.0.13), or 308 (1.13.0). The value can contain variables. </para> @@ -123,7 +124,8 @@ <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, 201, 204, 206, 301, 302, 303, 304, 307, or 308. +the response code equals 200, 201 (1.3.10), 204, 206, 301, 302, 303, 304, +307 (1.1.16, 1.0.13), or 308 (1.13.0). The parameter can be a positive or negative <link doc="../syntax.xml">time</link>. </para>