servo/components/net
bors-servo 7f944afee8 Auto merge of #10111 - DDEFISHER:master, r=jdm
add auth cache to resources + set auth header from it if url does not have creds

initial attempt of

- in resource_thread.rs, define an HTTP authorization cache storage (username, password, URL) and instantiate it like the cookie_storage member (inside an Arc<Rwlock<>> value, to enable sharing it between threads)
- in modify_request_headers in http_loader.rs, implement the remaining pieces of step 12(13?) of the appropriate specification using this new authorization cache.

 for the NCSU student project Implement HTTP authorization UI and persistent sessions.

<!-- 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/10111)
<!-- Reviewable:end -->
2016-03-24 23:54:13 +05:30
..
fetch Fix fetching about:blank 2016-03-24 11:17:12 +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