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)",
|
headers.add(Header::new("(request-target)",
|
||||||
format!("{} {}",
|
format!("{} {}",
|
||||||
request.method().as_str().to_lowercase(),
|
request.method().as_str().to_lowercase(),
|
||||||
uri.to_lowercase())));
|
uri)));
|
||||||
Outcome::Success(Headers(headers))
|
Outcome::Success(Headers(headers))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user