mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make fetch take a &Request
This commit is contained in:
parent
9601a66b60
commit
f42a63baea
7 changed files with 87 additions and 91 deletions
|
@ -21,7 +21,7 @@ fn assert_parse(url: &'static str,
|
|||
let origin = Origin::Origin(url.origin());
|
||||
let request = Request::new(url, Some(origin), false, None);
|
||||
|
||||
let response = fetch(request, None);
|
||||
let response = fetch(&request, None);
|
||||
|
||||
match data {
|
||||
Some(data) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue