- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isErrInvalidRange (0.1 sec)
-
cmd/httprange_test.go
var err1, err2 error var rs *HTTPRangeSpec var o, l int64 rs, err1 = parseRequestRangeSpec(irs) if err1 == nil { o, l, err2 = rs.GetOffsetLength(resourceSize) } if isErrInvalidRange(err1) || (err1 == nil && isErrInvalidRange(err2)) { continue } t.Errorf("Case %d: Expected errInvalidRange but: %v %v %d %d %v", i, rs, err1, o, l, err2) } } func TestHTTPRequestRangeToHeader(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0)