- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WithHSTS (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/server/filters/hsts.go
limitations under the License. */ package filters import ( "net/http" "strings" ) // 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 { if len(hstsDirectives) == 0 { return handler }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 12 08:42:53 UTC 2021 - 1.3K bytes - Viewed (0)