pub async fn upstream_status_error(
context: &str,
response: Response,
) -> ProxyHttpErrorExpand description
Convert an unsuccessful upstream response into a 502 Bad Gateway
ProxyHttpError that captures the upstream status and body.
pub async fn upstream_status_error(
context: &str,
response: Response,
) -> ProxyHttpErrorConvert an unsuccessful upstream response into a 502 Bad Gateway
ProxyHttpError that captures the upstream status and body.