Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_addition_module.xml @ 966:95c3c3bbf1ce
Text review.
author | Egor Nikitin <yegor.nikitin@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 12:03:41 +0400 |
parents | 813b8349cdbe |
children |
comparison
equal
deleted
inserted
replaced
965:fadccc156188 | 966:95c3c3bbf1ce |
---|---|
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_addition_module</literal> module is a filter | 18 The <literal>ngx_http_addition_module</literal> module is a filter |
19 that adds a text before and after a response. | 19 that adds text before and after a response. |
20 This module is not built by default, it should be enabled with the | 20 This module is not built by default, it should be enabled with the |
21 <literal>--with-http_addition_module</literal> | 21 <literal>--with-http_addition_module</literal> |
22 configuration parameter. | 22 configuration parameter. |
23 </para> | 23 </para> |
24 | 24 |
47 <context>http</context> | 47 <context>http</context> |
48 <context>server</context> | 48 <context>server</context> |
49 <context>location</context> | 49 <context>location</context> |
50 | 50 |
51 <para> | 51 <para> |
52 Adds a text returned as a result of processing a given subrequest, | 52 Adds the text returned as a result of processing a given subrequest |
53 before the response body. | 53 before the response body. |
54 An empty string (<literal>""</literal>) as a parameter cancels addition | 54 An empty string (<literal>""</literal>) as a parameter cancels addition |
55 inherited from the previous configuration level. | 55 inherited from the previous configuration level. |
56 </para> | 56 </para> |
57 | 57 |
64 <context>http</context> | 64 <context>http</context> |
65 <context>server</context> | 65 <context>server</context> |
66 <context>location</context> | 66 <context>location</context> |
67 | 67 |
68 <para> | 68 <para> |
69 Adds a text returned as a result of processing a given subrequest, | 69 Adds the text returned as a result of processing a given subrequest |
70 after the response body. | 70 after the response body. |
71 An empty string (<literal>""</literal>) as a parameter cancels addition | 71 An empty string (<literal>""</literal>) as a parameter cancels addition |
72 inherited from the previous configuration level. | 72 inherited from the previous configuration level. |
73 </para> | 73 </para> |
74 | 74 |
82 <context>server</context> | 82 <context>server</context> |
83 <context>location</context> | 83 <context>location</context> |
84 <appeared-in>0.7.9</appeared-in> | 84 <appeared-in>0.7.9</appeared-in> |
85 | 85 |
86 <para> | 86 <para> |
87 Allows to add text in responses with the specified MIME types, | 87 Allows adding text in responses with the specified MIME types, |
88 in addition to “<literal>text/html</literal>”. | 88 in addition to “<literal>text/html</literal>”. |
89 The special value “<literal>*</literal>” matches any MIME type (0.8.29). | 89 The special value “<literal>*</literal>” matches any MIME type (0.8.29). |
90 </para> | 90 </para> |
91 | 91 |
92 </directive> | 92 </directive> |