mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
fix: add missing content-disposition from CORS handler (#10137)
This commit is contained in:
@@ -413,6 +413,9 @@ func extractAPIVersion(r *http.Request) string {
|
||||
|
||||
// If none of the http routes match respond with appropriate errors
|
||||
func errorResponseHandler(w http.ResponseWriter, r *http.Request) {
|
||||
if r.Method == http.MethodOptions {
|
||||
return
|
||||
}
|
||||
version := extractAPIVersion(r)
|
||||
switch {
|
||||
case strings.HasPrefix(r.URL.Path, peerRESTPrefix):
|
||||
|
||||
Reference in New Issue
Block a user