1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

Cleanup HTTP client building

This commit is contained in:
Quentin Gliech
2022-11-23 12:26:58 +01:00
parent 16088fc11c
commit d514a8922c
4 changed files with 71 additions and 72 deletions

View File

@@ -174,7 +174,7 @@ async fn fetch_jwks(jwks: &JwksOrJwksUri) -> Result<PublicJsonWebKeySet, BoxErro
let request = http::Request::builder()
.uri(uri.as_str())
.body(http_body::Empty::new())
.body(mas_http::EmptyBody::new())
.unwrap();
let mut client = mas_http::client("fetch-jwks")