servo/components/net
bors-servo 9c713cb468 Auto merge of #9298 - nikkisquared:test_fetch, r=KiChjang
Implement a basic test for Fetch

As per @jdm's suggestion that I start minimally testing the Fetch protocol to catch any errors, I wrote a very simple test that just calls Fetch and checks that the response isn't a network error. I've made changes as necessary for every failure I encountered, although this doesn't mean the implementation is faultless yet.

As always, I look forward to any feedback for improvements regarding the test itself, the changes to the fetch files I've made, and anything that I missed and should update.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9298)
<!-- Reviewable:end -->
2016-01-14 08:20:05 +05:30
..
fetch Implement a basic test for Fetch and fix errors it finds 2016-01-13 16:45:57 -07:00
about_loader.rs task -> thread 2016-01-10 17:58:13 +09:00
Cargo.toml Remove some unused extern crates. 2016-01-13 09:37:28 +01: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 task -> thread 2016-01-10 17:58:13 +09:00
hsts.rs Remove dependency on regex_macros 2015-11-24 22:07:14 +01:00
http_loader.rs Implement a basic test for Fetch and fix errors it finds 2016-01-13 16:45:57 -07:00
image_cache_thread.rs task -> thread 2016-01-10 17:58:13 +09:00
lib.rs Remove some unused extern crates. 2016-01-13 09:37:28 +01:00
mime_classifier.rs Remove unneeded dead_code annotations. 2015-12-31 07:45:50 -05:00
pub_domains.rs Fix existing syntactics nits. 2015-08-16 10:30:43 -04:00
resource_thread.rs task -> thread 2016-01-10 17:58:13 +09:00
storage_thread.rs task -> thread 2016-01-10 17:58:13 +09:00
websocket_loader.rs task -> thread 2016-01-10 17:58:13 +09:00