# Functions
GetCORSContext returns the CORSContext that has been attached to this Context with WithCORSContext(), or nil if none.
SetCORSHeaders sets a standard set of CORS headers on an HTTP response.
WithCORSContext returns a copy of the parent context with the specified CORSContext attached.
# Constants
DefaultAllowedOrigin is the default origin string to use in CORS response headers.
# Variables
DefaultAllowedHeaders is the default value of the CORS header Access-Control-Allow-Headers.
nolint:gochecknoglobals.
# Interfaces
CORSContext represents a scope that has a specific set of allowed origins for CORS requests.