The @has_valid_policy function is called to check whether there is a valid
policy for the given domain. This method should return true for #SoupHSTSEnforcer to
change the scheme of the #GUri in the #SoupMessage to HTTPS. Implementations might want to
chain up to the @has_valid_policy in the parent class to check, for instance, for runtime
policies.
The @has_valid_policy function is called to check whether there is a valid policy for the given domain. This method should return true for #SoupHSTSEnforcer to change the scheme of the #GUri in the #SoupMessage to HTTPS. Implementations might want to chain up to the @has_valid_policy in the parent class to check, for instance, for runtime policies.