code: def hsts_header(self):
          
          hsts_policy = 'max-age={0}'.format(self.hsts_age)
  
          if self.hsts_include_subdomains:
              hsts_policy += '; includeSubDomains'
  
          return hsts_policy
docs: Returns the proper HSTS policy.