HSTSPolicy.newFull

Full version of soup.hstspolicy.HSTSPolicy.new_, to use with an existing expiration date.

See soup.hstspolicy.HSTSPolicy.new_ for details.

Parameters

domain string

policy domain or hostname

maxAge gulong

max age of the policy

expires glib.date_time.DateTime

the date of expiration of the policy or null for a permanent policy

includeSubdomains bool

true if the policy applies on subdomains

Return Value

Type: soup.hstspolicy.HSTSPolicy

a new #SoupHSTSPolicy.