Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPostPolicyBytesV2 (0.2 sec)

  1. cmd/post-policy_test.go

    	retStr := "{"
    	retStr = retStr + expirationStr + ","
    	retStr += conditionStr
    	retStr += "}"
    
    	return []byte(retStr)
    }
    
    // newPostPolicyBytesV2 - creates a bare bones postpolicy string with key and bucket matches.
    func newPostPolicyBytesV2(bucketName, objectKey string, expiration time.Time) []byte {
    	// Add the expiration date.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top