Creates a new session #SoupHSTSPolicy with the given attributes.
A session policy is a policy that is valid during the lifetime of
the #SoupHSTSEnforcer it is added to. Contrary to regular policies,
it has no expiration date and is not stored in persistent
enforcers. These policies are useful for user-agent to load their
own or user-defined rules.
@domain is a domain on which the strict transport security policy
represented by this object must be enforced.
If @include_subdomains is %TRUE, the strict transport security policy
must also be enforced on all subdomains of @domain.
Creates a new session #SoupHSTSPolicy with the given attributes. A session policy is a policy that is valid during the lifetime of the #SoupHSTSEnforcer it is added to. Contrary to regular policies, it has no expiration date and is not stored in persistent enforcers. These policies are useful for user-agent to load their own or user-defined rules.
@domain is a domain on which the strict transport security policy represented by this object must be enforced.
If @include_subdomains is %TRUE, the strict transport security policy must also be enforced on all subdomains of @domain.