- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NegotiateMediaTypeOptions (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper.go
} func (wrapped *WrappedHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) { if utilfeature.DefaultFeatureGate.Enabled(genericfeatures.AggregatedDiscoveryEndpoint) { mediaType, _ := negotiation.NegotiateMediaTypeOptions(req.Header.Get("Accept"), wrapped.s.SupportedMediaTypes(), DiscoveryEndpointRestrictions) // mediaType.Convert looks at the request accept headers and is used to control whether the discovery document will be aggregated.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 2.9K bytes - Viewed (0)