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:
bors-servo 2016-11-07 22:04:27 -06:00 committed by GitHub
commit 4a7ea72429
5 changed files with 63 additions and 56 deletions

View file

@ -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;
}