- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParseMediaType (0.09 sec)
-
cmd/auth-handler.go
_, ok := r.Form[xhttp.AmzAccessKeyID] return ok } // Verify if request has AWS Post policy Signature Version '4'. func isRequestPostPolicySignatureV4(r *http.Request) bool { mediaType, _, err := mime.ParseMediaType(r.Header.Get(xhttp.ContentType)) if err != nil { return false } return mediaType == "multipart/form-data" && r.Method == http.MethodPost }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 26.1K bytes - Viewed (0)