Mercurial > hg > nginx-site
changeset 448:92672f6f0ee1
Elaborated on $http_* and $sent_http_* syntax.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 Mar 2012 06:16:13 +0000 |
parents | f717705f5442 |
children | 531e2f58bd80 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 12 insertions(+), 4 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 @@ -2626,7 +2626,9 @@ host name <tag-name><var>$http_</var><value>name</value></tag-name> <tag-desc> -the <value>name</value> request header field +arbitrary request header field; +the last part of a variable name is the field name converted +to lower case with dashes replaced by underscores </tag-desc> <tag-name><var>$https</var></tag-name> @@ -2753,7 +2755,9 @@ request scheme, “<literal>http</literal>” or “<literal>https</literal>” <tag-name><var>$sent_http_</var><value>name</value></tag-name> <tag-desc> -the <value>name</value> response header field +arbitrary response header field; +the last part of a variable name is the field name converted +to lower case with dashes replaced by underscores </tag-desc> <tag-name><var>$server_addr</var></tag-name>
--- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -2612,7 +2612,9 @@ cookie <value>имя</value> <tag-name><var>$http_</var><value>имя</value></tag-name> <tag-desc> -поле <value>имя</value> заголовка запроса +произвольное поле заголовка запроса; +последняя часть имени переменной соответствует имени поля, приведённому +к нижнему регистру, с заменой символов тире на символы подчёркивания </tag-desc> <tag-name><var>$https</var></tag-name> @@ -2737,7 +2739,9 @@ fastcgi_pass_request_body off</link> <tag-name><var>$sent_http_</var><value>имя</value></tag-name> <tag-desc> -поле <value>имя</value> заголовка ответа +произвольное поле заголовка ответа; +последняя часть имени переменной соответствует имени поля, приведённому +к нижнему регистру, с заменой символов тире на символы подчёркивания </tag-desc> <tag-name><var>$server_addr</var></tag-name>