Mercurial > hg > nginx-site
comparison xml/en/docs/njs/reference.xml @ 2259:9644ecb67081
Unified description of njs r.requestBody with perl request_body.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 19 Oct 2018 16:03:24 +0300 |
parents | 0f16ef9a8dbe |
children | c30048802769 |
comparison
equal
deleted
inserted
replaced
2258:2c8c10f00518 | 2259:9644ecb67081 |
---|---|
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="10"> | 12 rev="11"> |
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 |
100 <tag-name><literal>r.remoteAddress</literal></tag-name> | 100 <tag-name><literal>r.remoteAddress</literal></tag-name> |
101 <tag-desc> | 101 <tag-desc> |
102 client address, read-only | 102 client address, read-only |
103 </tag-desc> | 103 </tag-desc> |
104 | 104 |
105 <tag-name><literal>r.requestBody</literal></tag-name> | 105 <tag-name id="r_request_body"><literal>r.requestBody</literal></tag-name> |
106 <tag-desc> | 106 <tag-desc> |
107 holds the request body, read-only | 107 returns the client request body if it has not been |
108 written to a temporary file. | |
109 To ensure that the client request body is in memory, | |
110 its size should be limited by | |
111 <link doc="../http/ngx_http_core_module.xml" id="client_max_body_size"/>, | |
112 and a sufficient buffer size should be set using | |
113 <link doc="../http/ngx_http_core_module.xml" id="client_body_buffer_size"/>. | |
108 </tag-desc> | 114 </tag-desc> |
109 | 115 |
110 <tag-name><literal>r.responseBody</literal></tag-name> | 116 <tag-name><literal>r.responseBody</literal></tag-name> |
111 <tag-desc> | 117 <tag-desc> |
112 holds the <link id="subrequest">subrequest</link> response body, read-only. | 118 holds the <link id="subrequest">subrequest</link> response body, read-only. |