changeset 2003:be779702663e

Documented the "sent_trailer_" variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 27 Jun 2017 16:36:23 +0300
parents e1f0ef8cff5e
children d1a1253a570e
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml
+++ b/xml/en/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="71">
+        rev="72">
 
 <section id="directives" name="Directives">
 
@@ -3169,6 +3169,13 @@ the last part of a variable name is the 
 to lower case with dashes replaced by underscores
 </tag-desc>
 
+<tag-name id="var_sent_trailer_"><var>$sent_trailer_</var><value>name</value></tag-name>
+<tag-desc>
+arbitrary field sent at the end of the response (1.13.2);
+the last part of a variable name is the field name converted
+to lower case with dashes replaced by underscores
+</tag-desc>
+
 <tag-name id="var_server_addr"><var>$server_addr</var></tag-name>
 <tag-desc>
 an address of the server which accepted a request
--- a/xml/ru/docs/http/ngx_http_core_module.xml
+++ b/xml/ru/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="71">
+        rev="72">
 
 <section id="directives" name="Директивы">
 
@@ -3166,6 +3166,13 @@ scgi_pass_request_body off</link>
 к нижнему регистру, с заменой символов тире на символы подчёркивания
 </tag-desc>
 
+<tag-name id="var_sent_trailer_"><var>$sent_trailer_</var><value>имя</value></tag-name>
+<tag-desc>
+произвольное поле, отправленное в конце ответа (1.13.2);
+последняя часть имени переменной соответствует имени поля, приведённому
+к нижнему регистру, с заменой символов тире на символы подчёркивания
+</tag-desc>
+
 <tag-name id="var_server_addr"><var>$server_addr</var></tag-name>
 <tag-desc>
 адрес сервера, принявшего запрос