Update to http 0.2 (#432)
This commit is contained in:
@@ -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