Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TimeFormat (0.2 sec)

  1. src/net/http/fs_test.go

    			modtime:         htmlModTime,
    			wantLastMod:     htmlModTime.UTC().Format(TimeFormat),
    			wantStatus:      200,
    		},
    		"not_modified_modtime": {
    			file:      "testdata/style.css",
    			serveETag: `"foo"`, // Last-Modified sent only when no ETag
    			modtime:   htmlModTime,
    			reqHeader: map[string]string{
    				"If-Modified-Since": htmlModTime.UTC().Format(TimeFormat),
    			},
    			wantStatus: 304,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    					t.Fatalf("Test %d: Expected transition time %s", i+1, expectedDue)
    				}
    			} else {
    				if expectedDue, _ := lc.Rules[tc.transRuleID].NoncurrentVersionTransition.NextDue(tc.obj); !strings.Contains(transHdrs[0], expectedDue.Format(http.TimeFormat)) {
    					t.Fatalf("Test %d: Expected transition time %s", i+1, expectedDue)
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	tags["set"] = er.setIndex
    	tags["pool"] = er.poolIndex
    	tags["merrs"] = joinErrs(errs)
    	tags["derrs"] = dataErrsByPart
    	if m.IsValid() {
    		tags["size"] = m.Size
    		tags["mtime"] = m.ModTime.Format(http.TimeFormat)
    		tags["data"] = m.Erasure.DataBlocks
    		tags["parity"] = m.Erasure.ParityBlocks
    	} else {
    		tags["invalid-meta"] = true
    		tags["data"] = er.setDriveCount - er.defaultParityCount
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top