feat: Allow configuring the OAuth compatibility mode

This commit is contained in:
Ginger committed 2026-06-16 12:50:43 -04:00
1 parent c2c841b8c7
commit 25144ecceb
12 files changed
+122 -25

No files matched your search

+3 -1
View File
@@ -112,7 +112,9 @@ fn handle_result(method: &Method, uri: &Uri, result: Response) -> Result<Respons
}
if status == StatusCode::METHOD_NOT_ALLOWED {
return Ok(err!(Request(Unrecognized("Method Not Allowed"))).into_response());
return Ok(
err!(Request(Unrecognized("Method not allowed"), METHOD_NOT_ALLOWED)).into_response()
);
}
Ok(result)