Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRedirectsByMethod (0.26 sec)

  1. src/net/http/client_test.go

    		`DELETE / "c308"`,
    		`DELETE /?code=404 "c404"`,
    	}
    	want := strings.Join(wantSegments, "\n")
    	run(t, func(t *testing.T, mode testMode) {
    		testRedirectsByMethod(t, mode, "DELETE", deleteRedirectTests, want)
    	})
    }
    
    func testRedirectsByMethod(t *testing.T, mode testMode, method string, table []redirectTest, want string) {
    	var log struct {
    		sync.Mutex
    		bytes.Buffer
    	}
    	var ts *httptest.Server
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top