aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/about_loader.rs
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2016-01-22 11:07:51 +0100
committerPaul Rouget <me@paulrouget.com>2016-02-09 08:05:17 +0100
commit63519c35748477784c07eae56b00b9967546fc7a (patch)
tree8eaf6fa98f3fbfef527aaed5b48904462eab2d9c /components/net/about_loader.rs
parentfb3fe3d784c24cdfd8040af0282e5c2182ee2051 (diff)
downloadservo-63519c35748477784c07eae56b00b9967546fc7a.tar.gz
servo-63519c35748477784c07eae56b00b9967546fc7a.zip
mozbrowsersercuritychange event
Diffstat (limited to 'components/net/about_loader.rs')
-rw-r--r--components/net/about_loader.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/net/about_loader.rs b/components/net/about_loader.rs
index ec6865e131a..5fbaaa686f6 100644
--- a/components/net/about_loader.rs
+++ b/components/net/about_loader.rs
@@ -8,6 +8,7 @@ use hyper::http::RawStatus;
use hyper::mime::{Mime, SubLevel, TopLevel};
use mime_classifier::MIMEClassifier;
use net_traits::ProgressMsg::Done;
+use net_traits::response::HttpsState;
use net_traits::{LoadConsumer, LoadData, Metadata};
use resource_thread::{CancellationListener, send_error, start_sending_sniffed_opt};
use std::sync::Arc;
@@ -28,6 +29,7 @@ pub fn factory(mut load_data: LoadData,
charset: Some("utf-8".to_owned()),
headers: None,
status: Some(RawStatus(200, "OK".into())),
+ https_state: HttpsState::None,
};
if let Ok(chan) = start_sending_sniffed_opt(start_chan,
metadata,