Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExcludeForCompression (0.19 sec)

  1. cmd/object-api-utils_test.go

    			}
    			if gErr != nil != test.err {
    				t.Errorf("IsCompressedOK: want error: %t, got error: %v", test.err, gErr)
    			}
    		})
    	}
    }
    
    // Tests excludeForCompression.
    func TestExcludeForCompression(t *testing.T) {
    	testCases := []struct {
    		object string
    		header http.Header
    		result bool
    	}{
    		{
    			object: "object.txt",
    			header: http.Header{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top