mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Binds name instead of inlining value for readability
This commit is contained in:
parent
918f8a7760
commit
04c012dfbf
1 changed files with 7 additions and 5 deletions
|
@ -339,11 +339,13 @@ fn update_sts_list_from_response(url: &Url, response: &HttpResponse, resource_mg
|
|||
IncludeSubdomains::NotIncluded
|
||||
};
|
||||
|
||||
resource_mgr_chan.send(
|
||||
ControlMsg::SetHSTSEntryForHost(
|
||||
host.to_string(), include_subdomains, header.max_age
|
||||
)
|
||||
).unwrap();
|
||||
let msg = ControlMsg::SetHSTSEntryForHost(
|
||||
host.to_string(),
|
||||
include_subdomains,
|
||||
header.max_age
|
||||
);
|
||||
|
||||
resource_mgr_chan.send(msg).unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue