Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for buildGenericPolicy (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/post-policy_test.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Set form content-type.
    	req.Header.Set("Content-Type", w.FormDataContentType())
    	return req, nil
    }
    
    func buildGenericPolicy(t time.Time, accessKey, region, bucketName, objectName string, contentLengthRange bool) []byte {
    	// Expire the request five minutes from now.
    	expirationTime := t.Add(time.Minute * 5)
    
    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)
Back to Top