servo/tests/unit/net
Stjepan Glavina bcd813d961 Fix fetching about:blank
When fetching about:blank, response body should be the empty byte
sequence.
Spec: https://fetch.spec.whatwg.org/#concept-basic-fetch

Before this change, response body would be set to `ResponseBody::Empty`,
and then fetching would result in an infinite loop at step 19 in fn
`main_fetch` (methods.rs).
2016-03-24 11:17:12 +01:00
..
parsable_mime Fix off-by-one error in MIME pattern matching 2016-02-23 11:53:32 +00:00
Cargo.toml Bump serde to 0.7 2016-03-17 13:52:39 +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 Fix fetching about:blank 2016-03-24 11:17:12 +01:00
hsts.rs Implement 'url!(..)' macro 2015-11-21 08:15:56 -05:00
http_loader.rs create cookie as HTTP instead of NonHttp in test 2016-03-03 17:16:07 +00:00
lib.rs working on implementing Cors Check and Origin to Ascii serialisation 2016-02-09 13:51:35 -07:00
mime_classifier.rs Add validation code for MIME checkers 2016-02-19 13:11:13 +00:00
resource_thread.rs Use lazy_static for HOST_TABLE. 2016-03-15 12:02:45 +01: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