title: How to handle ERR_INSECURE_RESPONSE?
body: <p>My AngularJS app uses <code>$http.get()</code> with <em>https</em> urls. If the server is using a self-signed certificate Chrome will reject the request and log an error <em>ERR_INSECURE_RESPONSE</em> to the console.</p>
  
  <p>I would like to capture this specific error and prompt the user to configure their server with a valid certificate.</p>
  
  <p>I've tried <code>$http.error</code> and <code>$httpProvider.interceptors</code> to get information about this error, but no relevant information is available in the error parameters. </p>
  
  <p>I understand that Chrome is rejecting the request rather than the server, but using Angular, is there anyway to capture that Chrome has rejected the request with error <em>ERR_INSECURE_RESPONSE</em>?</p>