add paritional files uploading for minIO

This commit is contained in:
2026-04-14 21:42:22 +02:00
parent 48d3c6f857
commit 60a02b73c0
5 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/http"
)
func requestValidCheck(response *http.ResponseWriter, request *http.Request) bool {
func postValidCheckWithResponseOnFail(response *http.ResponseWriter, request *http.Request) bool {
if request.Method != http.MethodPost {
http.Error(*response, "POST only", http.StatusMethodNotAllowed)
return false