This commit is contained in:
Jacob Hoffman-Andrews
2020-12-06 14:55:55 -08:00
parent ac93fa7e18
commit b9e3d3e76c
2 changed files with 6 additions and 2 deletions

View File

@@ -417,6 +417,8 @@ impl AgentBuilder {
/// let result = ureq::builder()
/// .redirects(1)
/// .build()
/// # ;
/// # let result = ureq::agent()
/// .get("http://httpbin.org/status/301")
/// .call()?;
/// assert_ne!(result.status(), 301);