HstsPolicy
class HstsPolicy(val soupHstsPolicyPointer: <Error class: unknown class><<Error class: unknown class>>)(source)
#SoupHSTSPolicy implements HTTP policies, as described by RFC 6797.
Constructors
Link copied to clipboard
Creates a new #SoupHSTSPolicy with the given attributes.
Parses @msg's first "Strict-Transport-Security" response header and returns a #SoupHSTSPolicy.
constructor(domain: String, maxAge: <Error class: unknown class>, expires: <Error class: unknown class>, includeSubdomains: Boolean)
Full version of ctor@HSTSPolicy.new, to use with an existing expiration date.
Creates a new session #SoupHSTSPolicy with the given attributes.
constructor(soupHstsPolicyPointer: <Error class: unknown class><<Error class: unknown class>>)
Functions
Link copied to clipboard
Copies @policy.
Link copied to clipboard
Tests if @policy1 and @policy2 are equal.
Link copied to clipboard
Returns the expiration date for @policy.
Link copied to clipboard
Gets whether @policy include its subdomains.
Link copied to clipboard
Gets whether @policy is a non-permanent, non-expirable session policy.