- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for PostPolicy (0.17 seconds)
-
cmd/post-policy_test.go
retStr := "{" retStr = retStr + expirationStr + "," retStr += conditionStr retStr += "}" return []byte(retStr) } // newPostPolicyBytesV4 - creates a bare bones postpolicy string with key and bucket matches. func newPostPolicyBytesV4(credential, bucketName, objectKey string, expiration time.Time) []byte { t := UTCNow() // Add the expiration date.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
cmd/api-router.go
// PutBucket router.Methods(http.MethodPut). HandlerFunc(s3APIMiddleware(api.PutBucketHandler)) // HeadBucket router.Methods(http.MethodHead). HandlerFunc(s3APIMiddleware(api.HeadBucketHandler)) // PostPolicy router.Methods(http.MethodPost). MatcherFunc(func(r *http.Request, _ *mux.RouteMatch) bool { return isRequestPostPolicySignatureV4(r) }).
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 23.3K bytes - Click Count (0) -
cmd/test-utils_test.go
} func registerBucketLevelFunc(bucket *mux.Router, api objectAPIHandlers, apiFunctions ...string) { for _, apiFunction := range apiFunctions { switch apiFunction { case "PostPolicy": // Register PostPolicy handler. bucket.Methods(http.MethodPost).HeadersRegexp("Content-Type", "multipart/form-data*").HandlerFunc(api.PostPolicyBucketHandler) case "HeadObject": // Register HeadObject handler.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0)