Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PostPolicy (0.04 sec)

  1. 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.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. 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)
    			}).
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top