servo/components/net
bors-servo 7bd6cb0091 auto merge of #5219 : doublec/servo/view_source_protocol_and_plain_text, r=jdm
Implements view-source protocol by having a view-source handler, and modifying the content type to be text/plain if that is used. 

Implements text/plain handling. This allows view-source content to display as plain text.

Example usage:

    ./mach run http://cd.pn/x.txt
    ./mach run view-source:http://tinyvid.tv/

This fixes issue #4181. Issue #3649 includes "support text/plain" so this possibly fixes some of that issue as well.
2015-03-17 07:18:51 -06:00
..
fetch Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
image Fix #5176 by premultiplying the alpha channel to the color channels 2015-03-11 14:52:16 +01:00
about_loader.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
Cargo.toml Specify regex and regex_macros version numbers 2015-03-05 21:09:41 -05:00
cookie.rs Fix warnings in net. 2015-02-13 11:24:21 +01:00
cookie_storage.rs Address review comments. 2015-02-04 13:35:05 +00:00
data_loader.rs Use rustc-serialize rather than the built-in deprecated serialize. 2015-02-17 13:24:15 +01:00
file_loader.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
http_loader.rs Implement displaying of text/plain documents 2015-03-17 18:11:33 +13:00
image_cache_task.rs Add profiling to image decoding. 2015-02-28 18:35:48 +01:00
lib.rs Add more robust hostsfile parsing 2015-03-05 20:33:33 -05:00
local_image_cache.rs add unwrap to send/recv calls 2015-02-03 16:05:13 +01:00
pub_domains.rs cookies and cookies storage implementation 2015-02-04 13:34:06 +00:00
resource_task.rs Implement view-source protocol. Fixes #4181. 2015-03-17 11:06:44 +13:00
sniffer_task.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
storage_task.rs localStorage shim, fixes #5195 2015-03-16 13:33:55 -07:00