Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPostRequestV4 (0.24 sec)

  1. cmd/post-policy_test.go

    		defer func() { globalBrowserEnabled = false }()
    	}
    
    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	req, perr := newPostRequestV4("", bucketName, objectName, []byte("pwned"), credentials.AccessKey, credentials.SecretKey)
    	if perr != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for PostPolicyHandler: <ERROR> %v", instanceType, perr)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top