mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #14114 - servo:fetch-unit-http, r=jdm
Start using fetch for the HTTP unit tests. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14114) <!-- Reviewable:end -->
This commit is contained in:
commit
4a7ea72429
5 changed files with 63 additions and 56 deletions
|
@ -413,7 +413,7 @@ fn set_default_accept(headers: &mut Headers) {
|
|||
}
|
||||
}
|
||||
|
||||
fn set_default_accept_language(headers: &mut Headers) {
|
||||
pub fn set_default_accept_language(headers: &mut Headers) {
|
||||
if headers.has::<AcceptLanguage>() {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue