- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newTestSignedBadSHARequest (0.11 sec)
-
cmd/test-utils_test.go
} return newTestSignedRequestV4(method, urlStr, contentLength, body, accessKey, secretKey, nil) } // Returns request with correct signature but with incorrect SHA256. func newTestSignedBadSHARequest(method, urlStr string, contentLength int64, body io.ReadSeeker, accessKey, secretKey string, signer signerType) (*http.Request, error) { req, err := newTestRequest(method, urlStr, contentLength, body) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/server_test.go
response, err = s.client.Do(req) c.Assert(err, nil) verifyError(c, response, "InvalidArgument", "Size of filter rule value cannot exceed 1024 bytes in UTF-8 representation", http.StatusBadRequest) req, err = newTestSignedBadSHARequest(http.MethodGet, getListenNotificationURL(s.endPoint, bucketName, []string{}, []string{}, validEvents), 0, nil, s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) // execute the request.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)