Enum hyper::client::RedirectPolicy  
                   
                       [−]
                   
               [src]
pub enum RedirectPolicy {
    FollowNone,
    FollowAll,
    FollowIf(fn(&Url) -> bool),
}Behavior regarding how to handle redirects within a Client.
Variants
FollowNone | Don't follow any redirects.  | |
FollowAll | Follow all redirects.  | |
FollowIf | Follow a redirect if the contained function returns true.  |