dont require agent().build()
This commit is contained in:
@@ -27,7 +27,7 @@ fn agent_reuse_headers() {
|
||||
|
||||
#[test]
|
||||
fn agent_cookies() {
|
||||
let agent = agent().build();
|
||||
let agent = agent();
|
||||
|
||||
test::set_handler("/agent_cookies", |_unit| {
|
||||
test::make_response(
|
||||
|
||||
@@ -20,7 +20,7 @@ fn read_range() {
|
||||
|
||||
#[test]
|
||||
fn agent_pool() {
|
||||
let agent = agent().build();
|
||||
let agent = agent();
|
||||
|
||||
// req 1
|
||||
let resp = agent.get("https://s3.amazonaws.com/foosrvr/bbb.mp4")
|
||||
|
||||
Reference in New Issue
Block a user