Don't lowercase URL for requests signatures

This commit is contained in:
Baptiste Gelez 2018-10-10 20:18:10 +00:00
parent ba4695f490
commit 09e7226c23
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}
}