servo/components/net
bors-servo 38e8c923b5 Auto merge of #10154 - stjepang:fix-local-urls-only-10147, r=KiChjang
Fix #10147: Correctly handle flag local_urls_only

In function Request::fetch_main, flag local_urls_only (if set)
should allow fetching local urls only. Before this change, the flag had
the inverse behaviour.

Fixes #10147.
Test with: `./mach test-unit -p net fetch::test_fetch_with_local_urls_only`

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10154)
<!-- Reviewable:end -->
2016-03-25 12:42:48 +05:30
..
fetch Merge branch 'master' into fix-local-urls-only-10147 2016-03-24 13:45:25 +01:00
about_loader.rs mozbrowsersercuritychange event 2016-02-09 08:05:17 +01:00
Cargo.toml Use external 'threadpool' crate, remove in-tree utility. 2016-03-18 11:05:49 -04:00
cookie.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
cookie_storage.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
data_loader.rs task -> thread 2016-01-10 17:58:13 +09:00
file_loader.rs Issue #9095: Send a notification when a file load is cancelled. 2016-01-10 14:06:03 +01:00
hsts.rs Remove dependency on regex_macros 2015-11-24 22:07:14 +01:00
http_loader.rs add auth cache to resources + set auth header if url does not have creds 2016-03-24 12:24:08 -04:00
image_cache_thread.rs Use external 'threadpool' crate, remove in-tree utility. 2016-03-18 11:05:49 -04:00
lib.rs Use external 'threadpool' crate, remove in-tree utility. 2016-03-18 11:05:49 -04:00
mime_classifier.rs Fix PDF signature to match spec 2016-02-23 14:09:56 +00:00
pub_domains.rs Fix existing syntactics nits. 2015-08-16 10:30:43 -04:00
resource_thread.rs add auth cache to resources + set auth header if url does not have creds 2016-03-24 12:24:08 -04:00
storage_thread.rs Remove remaining unused imports 2016-01-17 20:55:53 -08:00
websocket_loader.rs Update to Rust 2016-03-05 2016-03-06 10:36:49 +01:00