Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Amon (0.15 sec)

  1. internal/amztime/parse.go

    	// Do not change this order, http time format dates
    	// are usually in http.TimeFormat however there are
    	// situations where for example aws-sdk-java doesn't
    	// send the correct format.
    	http.TimeFormat,
    	"Mon, 2 Jan 2006 15:04:05 GMT",
    }
    
    // ParseHeader parses http.TimeFormat with an acceptable
    // extension for http.TimeFormat - return time might be zero
    // if the timeStr is invalid.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		12: {
    			bucketName:         bucketName,
    			newObjectName:      "newObject1",
    			copySourceHeader:   url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + objectName),
    			copyModifiedHeader: "Mon, 02 Jan 2006 15:04:05 GMT",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	request, err = newTestSignedRequest(http.MethodHead, getHeadObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	request.Header.Set("If-Unmodified-Since", "Mon, 02 Jan 2006 15:04:05 +00:00")
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Since the "If-Modified-Since" header was ahead in time compared to the actual
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top