Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetKeyStartsWith (0.14 sec)

  1. cmd/postpolicyform_test.go

    func TestPostPolicyForm(t *testing.T) {
    	pp := minio.NewPostPolicy()
    	pp.SetBucket("testbucket")
    	pp.SetContentType("image/jpeg")
    	pp.SetUserMetadata("uuid", "14365123651274")
    	pp.SetKeyStartsWith("user/user1/filename")
    	pp.SetContentLengthRange(100, 999999) // not testable from this layer, condition is checked in the API handler.
    	pp.SetSuccessStatusAction("201")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top