details: http://freenginx.org/hg/nginx-tests/rev/e44ee916b959 branches: changeset: 1960:e44ee916b959 user: Maxim Dounin <mdou...@mdounin.ru> date: Sat Apr 27 18:55:21 2024 +0300 description: 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. diffstat: http_headers_multi.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff --git a/http_headers_multi.t b/http_headers_multi.t --- 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 { -- nginx-devel mailing list nginx-devel@freenginx.org https://freenginx.org/mailman/listinfo/nginx-devel