- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for daterange (0.08 sec)
-
cmd/object-handlers_test.go
} var off, length int64 var rs *HTTPRangeSpec if byteRange != "" { rs, err = parseRequestRangeSpec(byteRange) if err != nil { t.Fatalf("Object: %s Case %d ByteRange: %s: Unexpected err: %v", object, i+1, byteRange, err) } } off, length, err = rs.GetOffsetLength(objectLength(oi)) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) // test Cases containing data to make partial range requests. // also has expected response data. testCases := []struct { byteRange string expectedString string }{ // request for byte range 10-11. // expecting the result to contain only putContent[10:12] bytes. {"10-11", putContent[10:12]},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)