Skip to content

lucifer9/rust-follow-redirects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

follow-redirects

Extension for hyper to follow HTTP redirects.

Documentation

Build Status crates.io

Example

// 1. import the extension trait
use follow_redirects::ClientExt;

// ...
// 2. create a standard hyper client
let client = hyper::Client::new();

// ...
// 3. make a request that will follow redirects
let url = "http://docs.rs/hyper".parse().unwrap();
let future = client.follow_redirects().get(url);

MSRV

This crate supports Rust version 1.49.0 and higher.

About

Extension for hyper to follow HTTP redirects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%