Skip to main content

http.header

Maturity

experimental

Description

HTTP header

Fields

IDTYPEDESCRIPTION
paramsmap[string][]stringRaw list of parameters for this header
stshttp.header.stsHTTP Strict-Transport-Security (HSTS) header
xFrameOptionsstringX-Frame-Options header: DENY, SAMEORIGIN, or ALLOW-FROM origin (obsolete)
xXssProtectionhttp.header.xssProtectionX-XSS-Protection header
xContentTypeOptionsstringX-Content-Type-Options header: nosniff
referrerPolicystringReferrer-Policy header
contentTypehttp.header.contentTypeContent-Type header
setCookiehttp.header.setCookieSet-Cookie header
cspmap[string]stringContent-Security-Policy header