- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetHTTPClient (0.2 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go
// return user-agent which may be truncated. type lazyTruncatedUserAgent struct { req *http.Request } func (lazy *lazyTruncatedUserAgent) String() string { ua := "unknown" if lazy.req != nil { ua = utilnet.GetHTTPClient(lazy.req) if len(ua) > maxUserAgentLength { ua = ua[:maxUserAgentLength] + userAgentTruncateSuffix } } return ua } // LazyClientIP implements String() string and it will
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 03 15:25:35 UTC 2023 - 4.9K bytes - Viewed (0)