Address PR comments

- Remove fn `url_is_local`
- Remove fn `set_local_urls_only`
- Fix `test_fetch_with_local_urls_only`
This commit is contained in:
Stjepan Glavina 2016-03-24 13:36:14 +01:00
parent 6576fde29b
commit 3ec4515a73
3 changed files with 12 additions and 17 deletions

View file

@ -257,8 +257,4 @@ impl Request {
_ => false
}
}
pub fn set_local_urls_only(&mut self, local_urls_only: bool) {
self.local_urls_only = local_urls_only;
}
}