class Kemal::Shield::ExpectCT
- Kemal::Shield::ExpectCT
- Kemal::Shield::Handler
- Kemal::Handler
- Reference
- Object
Overview
Kemal::Shield::ExpectCT
is a handler that sets the Expect-CT HTTP header.
This header tells browsers to expect Certificate Transparency.
The default value is "max-age=0"
The Expect-CT header can be updated by changing the values of
Kemal::Shield.config.expect_ct_max_age
Kemal::Shield.config.expect_ct_enforce
Kemal::Shield.config.expect_ct_report_uri
This handler can be turned off by setting
Kemal::Shield.config.expect_ct = false