# HG changeset patch # User Yaroslav Zhuravlev # Date 1707209572 0 # Node ID e6b785b7e3082fcde152b59b460448a33ec7df64 # Parent f0c2c0458f2b9bb70523f118a046d078624c7e6e Minor fixes in njs documentation. diff -r f0c2c0458f2b -r e6b785b7e308 xml/en/docs/http/ngx_http_js_module.xml --- a/xml/en/docs/http/ngx_http_js_module.xml Thu Feb 01 15:25:52 2024 +0400 +++ b/xml/en/docs/http/ngx_http_js_module.xml Tue Feb 06 08:52:52 2024 +0000 @@ -9,7 +9,7 @@ + rev="46">
@@ -626,7 +626,7 @@ Preloads an immutable object at configure time. -The name is used a name of the global variable +The name is used as a name of the global variable though which the object is available in njs code. If the name is not specified, the file name will be used instead. diff -r f0c2c0458f2b -r e6b785b7e308 xml/en/docs/njs/changes.xml --- a/xml/en/docs/njs/changes.xml Thu Feb 01 15:25:52 2024 +0400 +++ b/xml/en/docs/njs/changes.xml Tue Feb 06 08:52:52 2024 +0000 @@ -9,7 +9,7 @@
@@ -2967,9 +2967,9 @@ Feature: introduced raw headers API: -r.rawHeadersIn{} +r.rawHeadersIn[] and -r.rawHeadersOut{}. +r.rawHeadersOut[]. diff -r f0c2c0458f2b -r e6b785b7e308 xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml Thu Feb 01 15:25:52 2024 +0400 +++ b/xml/en/docs/njs/reference.xml Tue Feb 06 08:52:52 2024 +0000 @@ -9,7 +9,7 @@
+ rev="121">
@@ -55,8 +55,8 @@ r.requestBody r.requestBuffer r.requestText -r.rawHeadersIn{} -r.rawHeadersOut{} +r.rawHeadersIn[] +r.rawHeadersOut[] r.responseBody r.responseBuffer r.responseText @@ -395,7 +395,7 @@ it may convert bytes invalid in UTF-8 encoding into the replacement character. -r.rawHeadersIn{} +r.rawHeadersIn[] returns an array of key-value pairs exactly as they were received from the client @@ -429,7 +429,7 @@ -r.rawHeadersOut{} +r.rawHeadersOut[] returns an array of key-value pairs of response headers (0.4.1). diff -r f0c2c0458f2b -r e6b785b7e308 xml/en/docs/stream/ngx_stream_js_module.xml --- a/xml/en/docs/stream/ngx_stream_js_module.xml Thu Feb 01 15:25:52 2024 +0400 +++ b/xml/en/docs/stream/ngx_stream_js_module.xml Tue Feb 06 08:52:52 2024 +0000 @@ -9,7 +9,7 @@ + rev="44">
@@ -544,7 +544,7 @@ Preloads an immutable object at configure time. -The name is used a name of the global variable +The name is used as a name of the global variable though which the object is available in njs code. If the name is not specified, the file name will be used instead. diff -r f0c2c0458f2b -r e6b785b7e308 xml/ru/docs/http/ngx_http_js_module.xml --- a/xml/ru/docs/http/ngx_http_js_module.xml Thu Feb 01 15:25:52 2024 +0400 +++ b/xml/ru/docs/http/ngx_http_js_module.xml Tue Feb 06 08:52:52 2024 +0000 @@ -9,7 +9,7 @@ + rev="46">
diff -r f0c2c0458f2b -r e6b785b7e308 xml/ru/docs/stream/ngx_stream_js_module.xml --- a/xml/ru/docs/stream/ngx_stream_js_module.xml Thu Feb 01 15:25:52 2024 +0400 +++ b/xml/ru/docs/stream/ngx_stream_js_module.xml Tue Feb 06 08:52:52 2024 +0000 @@ -9,7 +9,7 @@ + rev="44">