http.header
Maturity
experimental
Description
HTTP header
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
params | map[string][]string | Raw list of parameters for this header |
sts | http.header.sts | HTTP Strict-Transport-Security (HSTS) header |
xFrameOptions | string | X-Frame-Options header: DENY, SAMEORIGIN, or ALLOW-FROM origin (obsolete) |
xXssProtection | http.header.xssProtection | X-XSS-Protection header |
xContentTypeOptions | string | X-Content-Type-Options header: nosniff |
referrerPolicy | string | Referrer-Policy header |
contentType | http.header.contentType | Content-Type header |
setCookie | http.header.setCookie | Set-Cookie header |
csp | map[string]string | Content-Security-Policy header |
References