changeset 1960:e44ee916b959

Tests: adjusted http_headers_multi.t for $content_length changes. The $content_length variable is going to be not available after discarding the request body. As such, the relevant location is now proxied, so the request body is not discarded.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 27 Apr 2024 18:55:21 +0300
parents 9877dce42a59
children fe6f22da53ec
files http_headers_multi.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/http_headers_multi.t
+++ b/http_headers_multi.t
@@ -96,7 +96,7 @@ http {
             add_header X-Host $host;
             add_header X-Remote-User $remote_user;
 
-            return 204;
+            proxy_pass http://127.0.0.1:8080/backend;
         }
 
         location /d {