Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDirectiveValid (0.36 sec)

  1. cmd/handler-utils.go

    	"X-Minio-Replication-Actual-Object-Size":                    "X-Minio-Internal-Actual-Object-Size",
    	// Add more supported headers here.
    }
    
    // isDirectiveValid - check if tagging-directive is valid.
    func isDirectiveValid(v string) bool {
    	// Check if set metadata-directive is valid.
    	return isDirectiveCopy(v) || isDirectiveReplace(v)
    }
    
    // Check if the directive COPY is requested.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  2. cmd/object-handlers.go

    		return
    	}
    
    	// Check if metadata directive is valid.
    	if !isDirectiveValid(r.Header.Get(xhttp.AmzMetadataDirective)) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidMetadataDirective), r.URL)
    		return
    	}
    
    	// check if tag directive is valid
    	if !isDirectiveValid(r.Header.Get(xhttp.AmzTagDirective)) {
    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