diff http_headers_multi.t @ 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 a2572de6e840
children
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 {