Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for defaultMeta (0.08 sec)

  1. cmd/object-handlers.go

    	}
    
    	if sc != "" {
    		defaultMeta[xhttp.AmzStorageClass] = sc
    	}
    
    	// if x-amz-metadata-directive says COPY then we
    	// return the default metadata.
    	if isDirectiveCopy(r.Header.Get(xhttp.AmzMetadataDirective)) {
    		return defaultMeta, nil
    	}
    
    	// Copy is default behavior if not x-amz-metadata-directive is set.
    	return defaultMeta, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top