trustworthyHttpHost function

bool trustworthyHttpHost(
  1. String host
)

Whether the browser treats http://[host] as trustworthy: loopback is never mixed content.

Implementation

bool trustworthyHttpHost(String host) =>
    addressSpaceOf(host) == AddressSpace.loopback;