# HG changeset patch # User Vladimir Homutov # Date 1353336296 0 # Node ID f63b7fa3bf1768493c8c1faa70ceafdc820e0fd2 # Parent 1bb8b733416a7007328e9ece40d7357cc6efea5e Added "id" attributes to http core module variables. diff -r 1bb8b733416a -r f63b7fa3bf17 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Fri Nov 16 18:53:36 2012 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Mon Nov 19 14:44:56 2012 +0000 @@ -2688,105 +2688,105 @@ It also supports other variables: -$arg_name +$arg_name argument name in the request line -$args +$args arguments in the request line -$binary_remote_addr +$binary_remote_addr client address in a binary form, value’s length is always 4 bytes -$body_bytes_sent +$body_bytes_sent number of bytes sent to a client, not counting the response header -$content_length +$content_length
Content-Length
request header field
-$content_type +$content_type
Content-Type
request header field
-$cookie_name +$cookie_name the name cookie -$document_root +$document_root or directive’s value for the current request -$document_uri +$document_uri same as $uri -$host +$host
Host
request header field, or the server name matching a request if this field is not present
-$hostname +$hostname host name -$http_name +$http_name arbitrary request header field; the last part of a variable name is the field name converted to lower case with dashes replaced by underscores -$https +$https on” if connection operates in SSL mode, or an empty string otherwise -$is_args +$is_args ?” if a request line has arguments, or an empty string otherwise -$limit_rate +$limit_rate setting this variable allows for response rate limiting; see -$nginx_version +$nginx_version nginx version -$pid +$pid PID of the worker process -$query_string +$query_string same as $args -$realpath_root +$realpath_root an absolute pathname corresponding to the or directive’s value @@ -2794,27 +2794,27 @@ with all symbolic links resolved to real paths -$remote_addr +$remote_addr client address -$remote_port +$remote_port client port -$remote_user +$remote_user user name supplied with the Basic authentication -$request +$request full original request line -$request_body +$request_body request body @@ -2827,7 +2827,7 @@ -$request_body_file +$request_body_file name of a temporary file with the request body @@ -2846,43 +2846,43 @@ -$request_completion +$request_completion OK” if a request has completed, or an empty string otherwise -$request_filename +$request_filename file path for the current request, based on the or directives, and the request URI -$request_method +$request_method request method, usually “GET” or “POST -$request_uri +$request_uri full original request URI (with arguments) -$scheme +$scheme request scheme, “http” or “https -$sent_http_name +$sent_http_name arbitrary response header field; the last part of a variable name is the field name converted to lower case with dashes replaced by underscores -$server_addr +$server_addr an address of the server which accepted a request @@ -2892,17 +2892,17 @@ -$server_name +$server_name name of the server which accepted a request -$server_port +$server_port port of the server which accepted a request -$server_protocol +$server_protocol request protocol, usually “HTTP/1.0” @@ -2910,12 +2910,12 @@ “HTTP/1.1 -$status +$status response status - + $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd, @@ -2926,7 +2926,7 @@ that support the TCP_INFO socket option -$uri +$uri current URI in request, normalized diff -r 1bb8b733416a -r f63b7fa3bf17 xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml Fri Nov 16 18:53:36 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Mon Nov 19 14:44:56 2012 +0000 @@ -2676,105 +2676,105 @@ Кроме того, есть и другие переменные: -$arg_имя +$arg_имя аргумент имя в строке запроса -$args +$args аргументы в строке запроса -$binary_remote_addr +$binary_remote_addr адрес клиента в бинарном виде, длина значения всегда 4 байта -$body_bytes_sent +$body_bytes_sent число байт, переданное клиенту, без учёта заголовка ответа -$content_length +$content_length поле
Content-Length
заголовка запроса
-$content_type +$content_type поле
Content-Type
заголовка запроса
-$cookie_имя +$cookie_имя cookie имя -$document_root +$document_root значение директивы или для текущего запроса -$document_uri +$document_uri то же, что и $uri -$host +$host поле
Host
заголовка запроса, или имя сервера, соответствующего запросу, если этого поля нет
-$hostname +$hostname имя хоста -$http_имя +$http_имя произвольное поле заголовка запроса; последняя часть имени переменной соответствует имени поля, приведённому к нижнему регистру, с заменой символов тире на символы подчёркивания -$https +$https on” если соединение работает в режиме SSL, либо пустая строка -$is_args +$is_args ?”, если в строке запроса есть аргументы, и пустая строка, если их нет -$limit_rate +$limit_rate установка этой переменной позволяет ограничивать скорость передачи ответа, см. -$nginx_version +$nginx_version версия nginx -$pid +$pid номер (PID) рабочего процесса -$query_string +$query_string то же, что и $args -$realpath_root +$realpath_root абсолютный путь, соответствующий значению директивы или @@ -2782,27 +2782,27 @@ в котором все символические ссылки преобразованы в реальные пути -$remote_addr +$remote_addr адрес клиента -$remote_port +$remote_port порт клиента -$remote_user +$remote_user имя пользователя, использованное в Basic аутентификации -$request +$request первоначальная строка запроса целиком -$request_body +$request_body тело запроса @@ -2814,7 +2814,7 @@ -$request_body_file +$request_body_file имя временного файла, в котором хранится тело запроса @@ -2833,42 +2833,42 @@ -$request_completion +$request_completion OK” если запрос завершился, либо пустая строка -$request_filename +$request_filename путь к файлу для текущего запроса, формируемый из директив или и URI запроса -$request_method +$request_method метод запроса, обычно “GET” или “POST -$request_uri +$request_uri первоначальный URI запроса целиком (с аргументами) -$scheme +$scheme схема запроса, “http” или “https -$sent_http_имя +$sent_http_имя произвольное поле заголовка ответа; последняя часть имени переменной соответствует имени поля, приведённому к нижнему регистру, с заменой символов тире на символы подчёркивания -$server_addr +$server_addr адрес сервера, принявшего запрос @@ -2878,17 +2878,17 @@ -$server_name +$server_name имя сервера, принявшего запрос -$server_port +$server_port порт сервера, принявшего запрос -$server_protocol +$server_protocol протокол сервера, обычно “HTTP/1.0” @@ -2896,12 +2896,12 @@ “HTTP/1.1 -$status +$status статус ответа - + $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd, @@ -2912,7 +2912,7 @@ поддерживающих параметр сокета TCP_INFO
-$uri +$uri текущий URI запроса в нормализованном виде