Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for extractMetadataFromReq (0.17 sec)

  1. cmd/object-handlers.go

    	}
    
    	// if x-amz-metadata-directive says REPLACE then
    	// we extract metadata from the input headers.
    	if isDirectiveReplace(r.Header.Get(xhttp.AmzMetadataDirective)) {
    		emetadata, err := extractMetadataFromReq(ctx, r)
    		if err != nil {
    			return nil, err
    		}
    		if sc != "" {
    			emetadata[xhttp.AmzStorageClass] = sc
    		}
    		return emetadata, nil
    	}
    
    	if sc != "" {
    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