Soup.HSTSEnforcerDB¶
- Subclasses:
 None
Methods¶
- Inherited:
 Soup.HSTSEnforcer (7), GObject.Object (37), Soup.SessionFeature (5)
- Structs:
 
class  | 
  | 
Virtual Methods¶
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
HSTS policy storage filename  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class Soup.HSTSEnforcerDB(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(filename)¶
 - Parameters:
 filename (
str) – the filename of the database to read/write from.- Returns:
 the new
Soup.HSTSEnforcer- Return type:
 
Creates a
Soup.HSTSEnforcerDB.filename will be read in during the initialization of a
Soup.HSTSEnforcerDB, in order to create an initial set of HSTS policies. If the file doesn’t exist, a new database will be created and initialized. Changes to the policies during the lifetime of aSoup.HSTSEnforcerDBwill be written to filename whenSoup.HSTSEnforcer::changedis emitted.New in version 2.68.