Update to http 0.2 (#432)
This commit is contained in:
@@ -11,5 +11,5 @@ h2 = { path = "../.." }
|
||||
env_logger = { version = "0.5.3", default-features = false }
|
||||
futures = { version = "0.3", default-features = false }
|
||||
honggfuzz = "0.5"
|
||||
http = { git = "https://github.com/hyperium/http" } #"0.1.3"
|
||||
http = "0.2"
|
||||
tokio = { version = "0.2", features = [] }
|
||||
|
||||
@@ -10,6 +10,6 @@ h2 = { path = "../..", features = ["unstable-stream", "unstable"] }
|
||||
bytes = "0.5"
|
||||
env_logger = "0.5.9"
|
||||
futures = { version = "0.3", default-features = false }
|
||||
http = { git = "https://github.com/hyperium/http" } #"0.1.3"
|
||||
http = "0.2"
|
||||
tokio = { version = "0.2", features = ["time"] }
|
||||
tokio-test = "0.2"
|
||||
|
||||
@@ -861,7 +861,7 @@ async fn request_options_with_star() {
|
||||
let uri = uri::Uri::from_parts({
|
||||
let mut parts = uri::Parts::default();
|
||||
parts.scheme = Some(uri::Scheme::HTTP);
|
||||
parts.authority = Some(uri::Authority::from_shared("example.com".into()).unwrap());
|
||||
parts.authority = Some(uri::Authority::from_static("example.com"));
|
||||
parts.path_and_query = Some(uri::PathAndQuery::from_static("*"));
|
||||
parts
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user