- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AccessDenied (0.06 sec)
-
cmd/api-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrExpiredPresignRequest: { Code: "AccessDenied", Description: "Request has expired", HTTPStatusCode: http.StatusForbidden, }, ErrRequestNotReadyYet: { Code: "AccessDenied", Description: "Request is not valid yet", HTTPStatusCode: http.StatusForbidden, }, ErrSlowDownRead: {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 92.1K bytes - Viewed (0) -
cmd/test-utils_test.go
apiRouter.ServeHTTP(rec, anonReq) // expected error response when the unsigned HTTP request is not permitted. accessDenied := getAPIError(ErrAccessDenied).HTTPStatusCode if rec.Code != accessDenied { t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Object API Nil Test expected to fail with %d, but failed with %d", accessDenied, rec.Code))) } // HEAD HTTP request doesn't contain response body. if anonReq.Method != http.MethodHead {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)