mirror of
https://github.com/minio/minio.git
synced 2025-11-28 13:09:09 -05:00
main: Remove all the dead/unused code.
This patch removes some dead and unused code.
This commit is contained in:
@@ -68,14 +68,6 @@ func isRequestPostPolicySignatureV4(r *http.Request) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Verify if incoming request is anonymous.
|
||||
func isRequestAnonymous(r *http.Request) bool {
|
||||
if isRequestJWT(r) || isRequestSignatureV4(r) || isRequestPresignedSignatureV4(r) || isRequestPostPolicySignatureV4(r) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
// Authorization type.
|
||||
type authType int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user