Don't lowercase URL for requests signatures
This commit is contained in:
parent
ba4695f490
commit
09e7226c23
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue