mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
This follows the recommendation from issue #4181. A handler for 'view-source' delegates to the HTTP loader. In that loader I check for view-source, adjust the URL to be the URL to be viewed and modify the Content-Type header to be text/plain. This doesn't actually result in the source being viewed as rendering text/plain is not yet implemented. |
||
---|---|---|
.. | ||
fetch | ||
image | ||
about_loader.rs | ||
Cargo.toml | ||
cookie.rs | ||
cookie_storage.rs | ||
data_loader.rs | ||
file_loader.rs | ||
http_loader.rs | ||
image_cache_task.rs | ||
lib.rs | ||
local_image_cache.rs | ||
pub_domains.rs | ||
resource_task.rs | ||
sniffer_task.rs | ||
storage_task.rs |