servo/tests/unit/net
bors-servo 88afe38092 Auto merge of #9608 - nikkisquared:implement_http_redirect_fetch, r=jdm
Implementation of HTTP Redirect Fetch step

I've made a first draft of a complete implementation of HTTP Redirect Fetch, most of which is just refactored out of HTTP Fetch. I've also made some minor changes in a few other steps, all collected in the second commit, based on recent changes to the Fetch Standard. Since HTTP Redirect Fetch is so new, I figured now would be a fine time to make those other changes.

The biggest thing on my mind right now is how the spec says[1] "This algorithm will be used by HTML's "navigate" algorithm in addition to HTTP fetch above." This makes me think that this function, as well as HTTP Fetch, need to public, or at least have a public-facing function- since each Fetch function takes an Rc<Request>, which might be weird to require callers to supply.

[1] https://fetch.spec.whatwg.org/#http-redirect-fetch

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9608)
<!-- Reviewable:end -->
2016-02-18 05:54:51 +05:30
..
parsable_mime Issue #7382 Use descriptive enums instead of booleans for MIMEClassifier::classifer 2015-09-12 17:44:14 -04:00
Cargo.toml Bump url to 0.5.5 2016-02-13 00:08:12 +01:00
cookie.rs Add path_match tests 2015-11-30 22:56:13 +05:30
data_loader.rs Remove unused import from tests/unit/net/data_loader.rs 2016-01-25 22:27:03 +01:00
fetch.rs implement http redirect fetch, and various Fetch Standard updates 2016-02-17 12:52:24 -07:00
hsts.rs Implement 'url!(..)' macro 2015-11-21 08:15:56 -05:00
http_loader.rs task -> thread 2016-01-10 17:58:13 +09:00
lib.rs working on implementing Cors Check and Origin to Ascii serialisation 2016-02-09 13:51:35 -07:00
mime_classifier.rs Calculate mp4 header length correctly. 2016-02-12 17:39:34 +00:00
resource_thread.rs task -> thread 2016-01-10 17:58:13 +09:00
test.jpeg Move net::{data_loader,image_cache_task} unit tests into the unit_tests crate. 2015-04-08 01:07:50 +02:00