diff options
author | Paul Rouget <me@paulrouget.com> | 2016-01-22 11:07:51 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2016-02-09 08:05:17 +0100 |
commit | 63519c35748477784c07eae56b00b9967546fc7a (patch) | |
tree | 8eaf6fa98f3fbfef527aaed5b48904462eab2d9c /components/net_traits/lib.rs | |
parent | fb3fe3d784c24cdfd8040af0282e5c2182ee2051 (diff) | |
download | servo-63519c35748477784c07eae56b00b9967546fc7a.tar.gz servo-63519c35748477784c07eae56b00b9967546fc7a.zip |
mozbrowsersercuritychange event
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r-- | components/net_traits/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index 45d01a9818d..bf9a168a1bf 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -312,6 +312,9 @@ pub struct Metadata { #[ignore_heap_size_of = "Defined in hyper"] /// HTTP Status pub status: Option<RawStatus>, + + /// Is successful HTTPS connection + pub https_state: response::HttpsState, } impl Metadata { @@ -324,6 +327,7 @@ impl Metadata { headers: None, // https://fetch.spec.whatwg.org/#concept-response-status-message status: Some(RawStatus(200, "OK".into())), + https_state: response::HttpsState::None, } } |