- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TestRedirect (0.13 sec)
-
tests/testdata/config/rule-redirect-injection.yaml
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: redirect namespace: testns spec: hosts: - redirect.test.istio.io http: - match: - headers: testredirect: exact: enabled redirect: uri: /new/path
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jan 19 04:56:49 UTC 2019 - 636 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} @Test fun response307WithGet() { testRedirect(true, "GET") } @Test fun response307WithHead() { testRedirect(true, "HEAD") } @Test fun response307WithOptions() { testRedirect(true, "OPTIONS") } @Test fun response307WithPost() { testRedirect(true, "POST") } @Test fun response308WithGet() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
src/net/http/cgi/host_test.go
if got, expected := resp.Code, http.StatusBadRequest; got != expected { t.Fatalf("Expected %v response code from chunked request body; got %d", expected, got) } } func TestRedirect(t *testing.T) { testenv.MustHaveExec(t) h := &Handler{ Path: os.Args[0], Root: "/test.cgi", } rec := runCgiTest(t, h, "GET /test.cgi?loc=http://foo.com/ HTTP/1.0\nHost: example.com\n\n", nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/net/http/serve_test.go
}, } Redirect(rr, req, "", 304) if rr.Code != 304 { t.Errorf("Code = %d; want 304", rr.Code) } } // Test different URL formats and schemes func TestRedirect(t *testing.T) { req, _ := NewRequest("GET", "http://example.com/qux/", nil) var tests = []struct { in string want string }{ // normal http
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)