-
Notifications
You must be signed in to change notification settings - Fork 0
/
security.go
22 lines (20 loc) · 954 Bytes
/
security.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package headers
const (
CrossOriginResourcePolicy = "Cross-Origin-Resource-Policy"
ContentSecurityPolicy = "Content-Security-Policy"
ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only"
ExpectCT = "Expect-CT"
FeaturePolicy = "Feature-Policy"
PublicKeyPins = "Public-Key-Pins"
PublicKeyPinsReportOnly = "Public-Key-Pins-Report-Only"
StrictTransportSecurity = "Strict-Transport-Security"
UpgradeInsecureRequests = "Upgrade-Insecure-Requests"
XContentTypeOptions = "X-Content-Type-Options"
XDownloadOptions = "X-Download-Options"
XFrameOptions = "X-Frame-Options"
XPoweredBy = "X-Powered-By"
XXSSProtection = "X-XSS-Protection"
XApiKey = "x-api-key"
Signature = "Signature"
SignedHeaders = "Signed-Headers"
)