changeset 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 d993005f9fea
children 344e2535f027
files xml/en/docs/njs/reference.xml xml/ru/docs/njs/reference.xml
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml
+++ b/xml/en/docs/njs/reference.xml
@@ -9,7 +9,7 @@
 <article name="Reference"
         link="/en/docs/njs/reference.html"
         lang="en"
-        rev="26">
+        rev="27">
 
 <section id="summary">
 
@@ -111,6 +111,8 @@ its size should be limited by
 <link doc="../http/ngx_http_core_module.xml" id="client_max_body_size"/>,
 and a sufficient buffer size should be set using
 <link doc="../http/ngx_http_core_module.xml" id="client_body_buffer_size"/>.
+The property is available only in the
+<link doc="../http/ngx_http_js_module.xml" id="js_content"/> directive.
 </tag-desc>
 
 <tag-name id="r_response_body"><literal>r.responseBody</literal></tag-name>
--- a/xml/ru/docs/njs/reference.xml
+++ b/xml/ru/docs/njs/reference.xml
@@ -112,6 +112,8 @@ HTTP метод, только чтение
 <link doc="../http/ngx_http_core_module.xml" id="client_max_body_size"/>,
 и также необходимо установить достаточный размер буфера при помощи
 <link doc="../http/ngx_http_core_module.xml" id="client_body_buffer_size"/>.
+Свойство доступно только в директиве
+<link doc="../http/ngx_http_js_module.xml" id="js_content"/>.
 </tag-desc>
 
 <tag-name id="r_response_body"><literal>r.responseBody</literal></tag-name>