- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFromContentMD5 (0.1 sec)
-
internal/etag/etag_test.go
{Header: http.Header{"Content-Md5": []string{"d41d8cd98f00b204e9800998ecf8427e"}}, ShouldFail: true}, // 7 (content-md5 is invalid b64 / of invalid length) } func TestFromContentMD5(t *testing.T) { for i, test := range fromContentMD5Tests { ETag, err := FromContentMD5(test.Header) if err != nil && !test.ShouldFail { t.Fatalf("Test %d: failed to convert Content-MD5 to ETag: %v", i, err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 12.6K bytes - Viewed (0)