Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for slash (0.16 sec)

  1. cmd/server_test.go

    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    	// Test the response when object name ends with a slash.
    	// This is a special case with size as '0' and object ends with
    	// a slash separator, we treat it like a valid operation and
    	// return success.
    	// The response Etag headers should contain Md5Sum of empty string.
    	objectName = "objectwith/"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 5.
    		// Test case with new object name is same as object to be copied.
    		// But source copy is without leading slash
    		5: {
    			bucketName:       bucketName,
    			newObjectName:    objectName,
    			copySourceSame:   true,
    			copySourceHeader: url.QueryEscape(bucketName + SlashSeparator + objectName),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top