Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DEFAULT (0.13 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
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top