- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for newPostPolicyBytesV4WithContentRange (0.13 seconds)
-
cmd/post-policy_test.go
"net/http" "net/http/httptest" "net/url" "strings" "testing" "time" "github.com/dustin/go-humanize" ) const ( iso8601DateFormat = "20060102T150405Z" ) func newPostPolicyBytesV4WithContentRange(credential, bucketName, objectKey string, expiration time.Time) []byte { t := UTCNow() // Add the expiration date. expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
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)