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