- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 627 for wsprefix (0.17 sec)
-
tests/test_ws_router.py
with client.websocket_connect("/prefix/") as websocket: data = websocket.receive_text() assert data == "Hello, router with prefix!" def test_native_prefix_router(): client = TestClient(app) with client.websocket_connect("/native/") as websocket: data = websocket.receive_text() assert data == "Hello, router with native prefix!" def test_router2():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
tests/test_empty_router.py
@router.get("") def get_empty(): return ["OK"] app.include_router(router, prefix="/prefix") client = TestClient(app) def test_use_empty(): with client: response = client.get("/prefix") assert response.status_code == 200, response.text assert response.json() == ["OK"] response = client.get("/prefix/") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 22:37:34 UTC 2023 - 805 bytes - Viewed (0) -
cmd/batch-replicate_test.go
} if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) { t.Fatal("Failed to parse batch-job-replicate yaml", err) } multiPrefixReplicateYaml := ` replicate: apiVersion: v1 # source of the objects to be replicated source: type: minio # valid values are "s3" or "minio" bucket: mytest prefix: # 'PREFIX' is optional - object-prefix1 - object-prefix2
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/endpoint_test.go
t.Fatal(err) } return s } getExpectedEndpoints := func(args []string, prefix string) ([]*url.URL, []bool) { var URLs []*url.URL var localFlags []bool for _, arg := range args { u, _ := url.Parse(arg) URLs = append(URLs, u) localFlags = append(localFlags, strings.HasPrefix(arg, prefix)) } return URLs, localFlags } case1Endpoint1 := "http://" + nonLoopBackIP + "/d1"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:53:03 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
endpointSet{ []ellipses.ArgPattern{ []ellipses.Pattern{ { Prefix: "", Suffix: "", Seq: getSequences(1, 2, 0), }, { Prefix: "", Suffix: "/test", Seq: getSequences(1, 64, 0), }, { Prefix: "http://minio", Suffix: "/export/set", Seq: getSequences(2, 3, 0), }, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0) -
cmd/sftp-server-driver.go
}) } return listerAt(files), nil } prefix = retainSlash(prefix) for object := range clnt.ListObjects(r.Context(), bucket, minio.ListObjectsOptions{ Prefix: prefix, Recursive: false, }) { if object.Err != nil { return nil, object.Err } if object.Key == prefix { continue } isDir := strings.HasSuffix(object.Key, SlashSeparator)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/ftp-server-driver.go
return err } } return nil } prefix = retainSlash(prefix) for object := range clnt.ListObjects(cctx, bucket, minio.ListObjectsOptions{ Prefix: prefix, Recursive: false, }) { if object.Err != nil { return object.Err } if object.Key == prefix { continue } isDir := strings.HasSuffix(object.Key, SlashSeparator)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
routeTyped := &route.RouteConfiguration{} err = rcd.RouteConfig.UnmarshalTo(routeTyped) if err != nil { return "", err } if routeTyped.Name != sPort && !strings.HasPrefix(routeTyped.Name, "http.") && !strings.HasPrefix(routeTyped.Name, "https.") { continue } for _, vh := range routeTyped.VirtualHosts { for _, route := range vh.Routes {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource private val prefix = if (File("samples").exists()) "" else "../../" private fun mainFiles(): List<File> { val directories = listOf( "$prefix/samples/guide/src/main/java/okhttp3/guide", "$prefix/samples/guide/src/main/java/okhttp3/recipes", "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt", ).map { File(it) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
} // Asserting Prefix. if actualResult.Prefix != expectedResult.Prefix { t.Errorf("Test %d: %s: Expected Prefix to be \"%s\", but instead found it to be \"%s\"", i+1, instanceType, expectedResult.Prefix, actualResult.Prefix) } // Asserting Delimiter. if actualResult.Delimiter != expectedResult.Delimiter {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K bytes - Viewed (0)