// WithHSTS is a simple HSTS implementation that wraps an http Handler. // If hstsDirectives is empty or nil, no HSTS support is installed. func WithHSTS(handler http.Handler, hstsDirectives []string) http.Handler { … }
// WithHSTS is a simple HSTS implementation that wraps an http Handler. // If hstsDirectives is empty or nil, no HSTS support is installed. func WithHSTS(handler http.Handler, hstsDirectives []string) http.Handler { … }