servo/components/net
bors-servo 81f6e70a62 Auto merge of #10785 - frewsxcv:loaderrortype-nostring, r=jdm
Refactor `LoadErrorType` to not require a `String` for every type.

Some of the `LoadErrorType` like `LoadCancelled` don't need a `String`
associated with the type since the variant is self-explanatory.

There are some variants that don't need an associated `String`, but that
can be cleaned up in a later refactor. Also, `net_traits::NetworkError`
currently requires a `String`, but that can potentially also be
refactored away too.

<!-- 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/10785)
<!-- Reviewable:end -->
2016-04-25 14:37:44 -07:00
..
fetch Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
about_loader.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
Cargo.toml Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
chrome_loader.rs More chrome URL hardenning and tests. 2016-04-23 20:28:03 +02:00
cookie.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
cookie_storage.rs write cookie_jar, hsts_list, auth_cache, and local_data to file if profile_dir option is present 2016-04-20 18:12:00 -04:00
data_loader.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
file_loader.rs Add referrer policy pass-through and referrer header logic 2016-04-25 16:41:06 -04:00
hsts.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
http_loader.rs Auto merge of #10785 - frewsxcv:loaderrortype-nostring, r=jdm 2016-04-25 14:37:44 -07:00
image_cache_thread.rs Add referrer policy pass-through and referrer header logic 2016-04-25 16:41:06 -04:00
lib.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
mime_classifier.rs Use constructor pattern for ApacheFlag enum. 2016-04-15 18:10:33 -04:00
pub_domains.rs Fix existing syntactics nits. 2015-08-16 10:30:43 -04:00
resource_thread.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
storage_thread.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
websocket_loader.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00