mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
mozbrowsersercuritychange event
This commit is contained in:
parent
fb3fe3d784
commit
63519c3574
13 changed files with 135 additions and 4 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue