From cc21319dfac0f22d9fcb137ce6410b7e0636fc96 Mon Sep 17 00:00:00 2001 From: daalfox Date: Sun, 2 Mar 2025 02:46:14 +0330 Subject: [PATCH] normalize_path: Fix test --- tower-http/src/normalize_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tower-http/src/normalize_path.rs b/tower-http/src/normalize_path.rs index 92e3fc70..5fa50b4d 100644 --- a/tower-http/src/normalize_path.rs +++ b/tower-http/src/normalize_path.rs @@ -291,7 +291,7 @@ mod tests { } let mut svc = ServiceBuilder::new() - .layer(NormalizePathLayer::new(NormalizeMode::Trim)) + .layer(NormalizePathLayer::new(NormalizeMode::Append)) .service_fn(handle); let body = svc