comparison 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
comparison
equal deleted inserted replaced
785:d84a97e02b45 786:b4fc7d571e48
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_headers_module" 10 <module name="Module ngx_http_headers_module"
11 link="/en/docs/http/ngx_http_headers_module.html" 11 link="/en/docs/http/ngx_http_headers_module.html"
12 lang="en" 12 lang="en"
13 rev="3"> 13 rev="4">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_headers_module</literal> module allows to emit 18 The <literal>ngx_http_headers_module</literal> module allows to emit
50 <context>location</context> 50 <context>location</context>
51 <context>if in location</context> 51 <context>if in location</context>
52 52
53 <para> 53 <para>
54 Adds the specified field to a response header provided that 54 Adds the specified field to a response header provided that
55 the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. 55 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307.
56 A value can contain variables. 56 A value can contain variables.
57 </para> 57 </para>
58 58
59 </directive> 59 </directive>
60 60
72 <context>if in location</context> 72 <context>if in location</context>
73 73
74 <para> 74 <para>
75 Enables or disables adding or modifying the <header>Expires</header> 75 Enables or disables adding or modifying the <header>Expires</header>
76 and <header>Cache-Control</header> response header fields provided that 76 and <header>Cache-Control</header> response header fields provided that
77 the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. 77 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307.
78 A parameter can be a positive or negative 78 A parameter can be a positive or negative
79 <link doc="../syntax.xml">time</link>. 79 <link doc="../syntax.xml">time</link>.
80 </para> 80 </para>
81 81
82 <para> 82 <para>