Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for redirect_uri (0.14 sec)

  1. cmd/post-policy_test.go

    	if err != nil {
    		t.Error("Unexpected error: ", err)
    	}
    
    	v := redirectURL.Query()
    	v.Add("bucket", info.Bucket)
    	v.Add("key", info.Name)
    	v.Add("etag", "\""+info.ETag+"\"")
    	redirectURL.RawQuery = v.Encode()
    	expectedLocation := redirectURL.String()
    
    	// Check the new location url
    	if rec.Header().Get("Location") != expectedLocation {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top