fn is_about_to_redirect(&self) -> bool {
        self.state.options.redirect_policy != RedirectPolicy::None
            && self.status_code.filter(http::StatusCode::is_redirection).is_some()
            && self.headers.contains_key("Location")
    }
/// Determine if curl is about to perform a redirect.
Determine if curl is about to perform a redirect.
Determine if curl is about to perform a redirect .
fn is_about_to_redirect(&self) -> bool {
        self.state.options.redirect_policy != RedirectPolicy::None
            && self.status_code.filter(http::StatusCode::is_redirection).is_some()
            && self.headers.contains_key("Location")
    }
fn is_about_to_redirect ( & self ) -> bool { self . state . options . redirect_policy != RedirectPolicy :: None && self . status_code . filter ( http :: StatusCode :: is_redirection ) . is_some ( ) && self . headers . contains_key ( " " ) }
Determine if curl is about to perform a redirect.
Determine if curl is about to perform a redirect .
&self
&self