Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddChecksumHeader (0.05 sec)

  1. internal/hash/checksum_test.go

    				m[xhttp.AmzChecksumType] = xhttp.AmzChecksumTypeFullObject
    			} else {
    				m[xhttp.AmzChecksumType] = xhttp.AmzChecksumTypeComposite
    			}
    
    			w := httptest.NewRecorder()
    			AddChecksumHeader(w, m)
    			gotChksm, err := GetContentChecksum(w.Result().Header)
    			if tt.wantErr {
    				if err == nil {
    					t.Fatalf("Expected error for %s, got none", tt.name)
    				}
    				return
    			}
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top