Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ISO8601Format (0.07 sec)

  1. cmd/test-utils_test.go

    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    		return "", fmt.Errorf("Invalid hashed payload")
    	}
    
    	// Set x-amz-date.
    	req.Header.Set("x-amz-date", currTime.Format(iso8601Format))
    
    	// Get header map.
    	headerMap := make(map[string][]string)
    	for k, vv := range req.Header {
    		// If request header key is not in ignored headers, then add it.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	tags["merrs"] = joinErrs(errs)
    	tags["derrs"] = fmt.Sprintf("%v", dataErrsByPart)
    	if m.IsValid() {
    		tags["sz"] = strconv.FormatInt(m.Size, 10)
    		tags["mt"] = m.ModTime.Format(iso8601Format)
    		tags["d:p"] = fmt.Sprintf("%d:%d", m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    	} else {
    		tags["invalid"] = "1"
    		tags["d:p"] = fmt.Sprintf("%d:%d", er.setDriveCount-er.defaultParityCount, er.defaultParityCount)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top