HttpUrlPolicy

Small, dependency-free URL policy helpers shared by the protocol plugins.

Functions

Link copied to clipboard

True when url is https, or http to a loopback host per isLoopbackHost.

Link copied to clipboard

True only when host is the name localhost or an IP literal that is a loopback address.