Skip to main content

restrict_redirects

Function restrict_redirects 

pub fn restrict_redirects(
    builder: ClientBuilder,
    endpoint: &str,
) -> ClientBuilder
Expand description

Apply redirect_policy to builder when endpoint is an OpenCode target. Every other provider keeps reqwest’s default redirect handling.