mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Make the fetch target non-optional.
This commit is contained in:
parent
6f2606cdee
commit
217f44b67a
4 changed files with 32 additions and 49 deletions
|
@ -533,7 +533,7 @@ pub fn http_fetch(request: Rc<Request>,
|
|||
cors_flag: bool,
|
||||
cors_preflight_flag: bool,
|
||||
authentication_fetch_flag: bool,
|
||||
target: &mut Target,
|
||||
target: Target,
|
||||
done_chan: &mut DoneChannel,
|
||||
context: &FetchContext)
|
||||
-> Response {
|
||||
|
@ -707,7 +707,7 @@ fn http_redirect_fetch(request: Rc<Request>,
|
|||
cache: &mut CorsCache,
|
||||
response: Response,
|
||||
cors_flag: bool,
|
||||
target: &mut Target,
|
||||
target: Target,
|
||||
done_chan: &mut DoneChannel,
|
||||
context: &FetchContext)
|
||||
-> Response {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue