- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setContentType (2.11 sec)
-
cmd/postpolicyform_test.go
} }) } } // Test Post Policy parsing and checking conditions 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(1048579, 10485760) pp.SetSuccessStatusAction("201") type testCase struct {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 8.9K bytes - Viewed (0)