Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encodeResponse (0.15 sec)

  1. cmd/object-handlers_test.go

    		{
    			bucketName: bucketName,
    			objectName: "abcd",
    			byteRange:  "",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedContent: encodeResponse(getAPIErrorResponse(ctx,
    				getAPIError(ErrNoSuchKey),
    				getGetObjectURL("", bucketName, "abcd"), "", "")),
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    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