{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/8544","labels_url":"https://api.github.com/repos/servo/servo/issues/8544/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/8544/comments","events_url":"https://api.github.com/repos/servo/servo/issues/8544/events","html_url":"https://github.com/servo/servo/issues/8544","id":117097545,"number":8544,"title":"Browser API: expose SSL info (securitychange event)","user":{"login":"paulrouget","id":373579,"avatar_url":"https://avatars.githubusercontent.com/u/373579?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrouget","html_url":"https://github.com/paulrouget","followers_url":"https://api.github.com/users/paulrouget/followers","following_url":"https://api.github.com/users/paulrouget/following{/other_user}","gists_url":"https://api.github.com/users/paulrouget/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrouget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrouget/subscriptions","organizations_url":"https://api.github.com/users/paulrouget/orgs","repos_url":"https://api.github.com/users/paulrouget/repos","events_url":"https://api.github.com/users/paulrouget/events{/privacy}","received_events_url":"https://api.github.com/users/paulrouget/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-content/dom","name":"A-content/dom","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/A-network","name":"A-network","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/A-security","name":"A-security","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-16T10:51:52Z","updated_at":"2015-11-20T15:40:54Z","closed_at":null,"body":"`mozbrowsersecuritychange` properties: https://github.com/paulrouget/mozBrowserAPI/blob/master/BrowserAPI.md#the-mozbrowsersecuritychange-event\r\n\r\nCould someone describe what needs to be done to expose SSL information (no ssl, non valid cert, valid cert, mixed content, …)? At least, we'd like to start with basic info: ssl or no ssl."},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/158435893","html_url":"https://github.com/servo/servo/issues/8544#issuecomment-158435893","issue_url":"https://api.github.com/repos/servo/servo/issues/8544","id":158435893,"user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T15:40:54Z","updated_at":"2015-11-20T15:40:54Z","body":"I'm not convinced that `Result<StatusCode/RawStatus, String>` is really the right thing to do here, since we're duplicating information between the `Metadata` structure that's received in `headers_available`, and the final result is an indication that the response was received in its entirety. I think storing the status code separately in consumers that require it makes the most sense to me."}}