diff options
author | François Laignel <fengalin@free.fr> | 2021-04-20 18:28:38 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-20 19:19:58 +0300 |
commit | 95cdd43f4ff02e12fd6079051294029b4aae653a (patch) | |
tree | e5fe30dc36ba43ce5f6bf2686bd537ed1a3ed852 /net | |
parent | 3203f5774867c48b3d23bbbeb2149d759fbbdab7 (diff) |
manual fixes remove get prefix round 2
Diffstat (limited to 'net')
-rw-r--r-- | net/reqwest/src/reqwesthttpsrc/imp.rs | 4 | ||||
-rw-r--r-- | net/reqwest/tests/reqwesthttpsrc.rs | 4 | ||||
-rw-r--r-- | net/rusoto/src/s3src/imp.rs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/net/reqwest/src/reqwesthttpsrc/imp.rs b/net/reqwest/src/reqwesthttpsrc/imp.rs index 5b67d9958..6565ea74b 100644 --- a/net/reqwest/src/reqwesthttpsrc/imp.rs +++ b/net/reqwest/src/reqwesthttpsrc/imp.rs @@ -475,11 +475,11 @@ impl ReqwestHttpSrc { s.set("content-type", &content_type.as_ref()); } else if content_type.type_() == "audio" && content_type.subtype() == "L16" { let channels = content_type - .param("channels") + .get_param("channels") .and_then(|s| s.as_ref().parse::<i32>().ok()) .unwrap_or(2); let rate = content_type - .param("rate") + .get_param("rate") .and_then(|s| s.as_ref().parse::<i32>().ok()) .unwrap_or(44_100); diff --git a/net/reqwest/tests/reqwesthttpsrc.rs b/net/reqwest/tests/reqwesthttpsrc.rs index 11cb5d9af..2705f7d7d 100644 --- a/net/reqwest/tests/reqwesthttpsrc.rs +++ b/net/reqwest/tests/reqwesthttpsrc.rs @@ -459,7 +459,7 @@ fn test_extra_headers() { assert_eq!(headers.get("baz").unwrap(), "1"); assert_eq!( headers - .all("list") + .get_all("list") .iter() .map(|v| v.to_str().unwrap()) .collect::<Vec<&str>>(), @@ -467,7 +467,7 @@ fn test_extra_headers() { ); assert_eq!( headers - .all("array") + .get_all("array") .iter() .map(|v| v.to_str().unwrap()) .collect::<Vec<&str>>(), diff --git a/net/rusoto/src/s3src/imp.rs b/net/rusoto/src/s3src/imp.rs index 72f328d31..07cb4ab05 100644 --- a/net/rusoto/src/s3src/imp.rs +++ b/net/rusoto/src/s3src/imp.rs @@ -175,7 +175,7 @@ impl S3Src { offset + length - 1 ); - let response = client.object(request); + let response = client.get_object(request); let output = s3utils::wait(&self.canceller, response).map_err(|err| match err { WaitError::FutureError(err) => Some(gst::error_msg!( |