Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExcludeForCompression (0.15 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{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top