Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ObjectLockEnabled (0.27 sec)

  1. cmd/bucket-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectLockEnabled := false
    	if vs := r.Header.Get(xhttp.AmzObjectLockEnabled); len(vs) > 0 {
    		v := strings.ToLower(vs)
    		switch v {
    		case "true", "false":
    			objectLockEnabled = v == "true"
    		default:
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    			return
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top