From e23cc43824b48e48119f53ff43481b598d8a5ac6 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Mon, 29 Jan 2024 12:56:10 +0300 Subject: [PATCH] [#299] Drop unused legacy minio code https://github.com/minio/minio/commit/736d8cbac483d8bf56c3422ca9a9c4c3e043c6cf#diff-f5a8931b4d5f3b7f583e4cd719bfd2904980518a6f338d463ec76aea814db772 Signed-off-by: Denis Kirillov --- api/middleware/response.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/middleware/response.go b/api/middleware/response.go index adec21a6..7768ebd8 100644 --- a/api/middleware/response.go +++ b/api/middleware/response.go @@ -129,8 +129,6 @@ func WriteErrorResponse(w http.ResponseWriter, reqInfo *ReqInfo, err error) int // Set retry-after header to indicate user-agents to retry request after 120secs. // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After w.Header().Set(hdrRetryAfter, "120") - case "AccessDenied": - // TODO process when the request is from browser and also if browser } }