diff xml/en/docs/http/ngx_http_core_module.xml @ 1827:64e2b8c5200d

Documented request method change by error_page in /uri redirection.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 24 Oct 2016 11:57:50 +0300
parents da6a3e401b26
children 5cd4964fbc5f
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Mon Oct 24 11:57:46 2016 +0300
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Mon Oct 24 11:57:50 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="62">
+        rev="63">
 
 <section id="directives" name="Directives">
 
@@ -623,6 +623,13 @@
 </para>
 
 <para>
+This causes an internal redirect to the specified <value>uri</value>
+with the client request method changed to “<literal>GET</literal>”
+(for all methods other than
+“<literal>GET</literal>” and “<literal>HEAD</literal>”).
+</para>
+
+<para>
 Furthermore, it is possible to change the response code to another
 using the “<literal>=</literal><value>response</value>” syntax, for example:
 <example>
@@ -641,8 +648,8 @@
 </para>
 
 <para>
-If there is no need to change URI during internal redirection it is
-possible to pass error processing into a named location:
+If there is no need to change URI and method during internal redirection
+it is possible to pass error processing into a named location:
 <example>
 location / {
     error_page 404 = @fallback;