- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for calculateEtag (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/etag.go
// Attaches Cache-Busting functionality to an endpoint // - Sets ETag header to provided hash // - Replies with 304 Not Modified, if If-None-Match header matches hash // // hash should be the value of calculateETag on object. If hash is empty, then // the object is simply serialized without E-Tag functionality func ServeHTTPWithETag( object runtime.Object, hash string, targetGV schema.GroupVersion,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 16.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go
cacheLoad := rdm.cache.Load() if cacheLoad != nil { return cacheLoad } response := apidiscoveryv2.APIGroupDiscoveryList{ Items: rdm.calculateAPIGroupsLocked(), } etag, err := calculateETag(response) if err != nil { klog.Errorf("failed to calculate etag for discovery document: %s", etag) etag = "" } cached := &cachedGroupList{ cachedResponse: response, cachedResponseETag: etag,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 16.1K bytes - Viewed (0)