- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PreventRedirects (0.76 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/rest/streamer.go
contentType = strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0]) } } flush = s.Flush stream = resp.Body return } // PreventRedirects is a redirect checker that prevents the client from following a redirect. func PreventRedirects(_ *http.Request, _ []*http.Request) error { return errors.New("redirects forbidden")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 16:43:09 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/registry/core/pod/rest/log.go
Flush: logOpts.Follow, ResponseChecker: genericrest.NewGenericHttpResponseChecker(api.Resource("pods/log"), name), RedirectChecker: genericrest.PreventRedirects, TLSVerificationErrorCounter: podLogsTLSFailure, DeprecatedTLSVerificationErrorCounter: deprecatedPodLogsTLSFailure, }, nil } func countSkipTLSMetric(insecureSkipTLSVerifyBackend bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 24 10:50:43 UTC 2023 - 4.4K bytes - Viewed (0)