Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for extractMetadataFromReq (0.11 sec)

  1. cmd/object-multipart-handlers.go

    		// decryption if the file was actually multipart or not.
    		encMetadata[ReservedMetadataPrefix+"Encrypted-Multipart"] = ""
    	}
    
    	// Extract metadata that needs to be saved.
    	metadata, err := extractMetadataFromReq(ctx, r)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if objTags := r.Header.Get(xhttp.AmzObjectTagging); objTags != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. 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 != "" {
    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