Mercurial > hg > nginx-site
comparison xml/en/docs/njs/reference.xml @ 2356:ea6964391d52
Clarified usage of r.requestBody in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 01 Apr 2019 20:12:18 +0300 |
parents | 21f3a93fbe97 |
children | bde611cbb7ae |
comparison
equal
deleted
inserted
replaced
2355:d993005f9fea | 2356:ea6964391d52 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Reference" | 9 <article name="Reference" |
10 link="/en/docs/njs/reference.html" | 10 link="/en/docs/njs/reference.html" |
11 lang="en" | 11 lang="en" |
12 rev="26"> | 12 rev="27"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 <link doc="index.xml">njs</link> provides objects, methods and properties | 17 <link doc="index.xml">njs</link> provides objects, methods and properties |
109 To ensure that the client request body is in memory, | 109 To ensure that the client request body is in memory, |
110 its size should be limited by | 110 its size should be limited by |
111 <link doc="../http/ngx_http_core_module.xml" id="client_max_body_size"/>, | 111 <link doc="../http/ngx_http_core_module.xml" id="client_max_body_size"/>, |
112 and a sufficient buffer size should be set using | 112 and a sufficient buffer size should be set using |
113 <link doc="../http/ngx_http_core_module.xml" id="client_body_buffer_size"/>. | 113 <link doc="../http/ngx_http_core_module.xml" id="client_body_buffer_size"/>. |
114 The property is available only in the | |
115 <link doc="../http/ngx_http_js_module.xml" id="js_content"/> directive. | |
114 </tag-desc> | 116 </tag-desc> |
115 | 117 |
116 <tag-name id="r_response_body"><literal>r.responseBody</literal></tag-name> | 118 <tag-name id="r_response_body"><literal>r.responseBody</literal></tag-name> |
117 <tag-desc> | 119 <tag-desc> |
118 holds the <link id="subrequest">subrequest</link> response body, read-only. | 120 holds the <link id="subrequest">subrequest</link> response body, read-only. |