- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newTestRequest (0.09 sec)
-
cmd/object-handlers_test.go
} } // Test for Anonymous/unsigned http request. anonReq, err := newTestRequest(http.MethodHead, getHeadObjectURL("", bucketName, objectName), 0, nil) if err != nil { t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v", instanceType, bucketName, objectName, err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/server_test.go
// Unlike the actual PUT object request, the request to Copy Object doesn't contain request body, // empty body with the "X-Amz-Copy-Source" header pointing to the object to copies it in the backend. request, err = newTestRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName2), 0, nil) c.Assert(err, nil) // setting the "X-Amz-Copy-Source" to allow copying the content of previously uploaded object.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0)