From 09e7226c237b4e950975a962305d8b369160cf67 Mon Sep 17 00:00:00 2001 From: Baptiste Gelez Date: Wed, 10 Oct 2018 20:18:10 +0000 Subject: [PATCH] Don't lowercase URL for requests signatures --- plume-models/src/headers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/headers.rs b/plume-models/src/headers.rs index a3b046b..57030de 100644 --- a/plume-models/src/headers.rs +++ b/plume-models/src/headers.rs @@ -21,7 +21,7 @@ impl<'a, 'r> FromRequest<'a, 'r> for Headers<'r> { headers.add(Header::new("(request-target)", format!("{} {}", request.method().as_str().to_lowercase(), - uri.to_lowercase()))); + uri))); Outcome::Success(Headers(headers)) } }