Module: SecureHeaders::StrictTransportSecurity::Constants

Included in:
SecureHeaders::StrictTransportSecurity
Defined in:
lib/secure_headers/headers/strict_transport_security.rb

Constant Summary collapse

HSTS_HEADER_NAME =
'Strict-Transport-Security'
HSTS_MAX_AGE =
"631138519"
DEFAULT_VALUE =
"max-age=" + HSTS_MAX_AGE
VALID_STS_HEADER =
/\Amax-age=\d+(; includeSubdomains)?(; preload)?\z/i
MESSAGE =
"The config value supplied for the HSTS header was invalid."
CONFIG_KEY =
:hsts