- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 2,708 for most (0.05 sec)
-
cni/pkg/constants/constants.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 3K bytes - Viewed (0) -
tests/test_typing_python39.py
} for test_type, expect in types.items(): app = FastAPI() @app.post("/", response_model=test_type) def post_endpoint(input: test_type): return input res = TestClient(app).post("/", json=expect) assert res.status_code == 200, res.json()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 709 bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* byte[], boolean) */ @Override public SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException { if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) { // this is not too good, probably should better pass the address and check that it is a netbios one.
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
func proxyDecommissionRequest(ctx context.Context, defaultEndPoint Endpoint, w http.ResponseWriter, r *http.Request) (proxy bool) { host := env.Get("_MINIO_DECOM_ENDPOINT_HOST", defaultEndPoint.Host) if host == "" { return } for nodeIdx, proxyEp := range globalProxyEndpoints { if proxyEp.Endpoint.Host == host && !proxyEp.IsLocal { if proxyRequestByNodeIndex(ctx, w, r, nodeIdx) { return true } } } return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 00:22:30 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
val encoded = encodeQuery("google.com", TYPE_A) assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ") } private fun encodeQuery( host: String, type: Int, ): String { return DnsRecordCodec.encodeQuery(host, type).base64Url().replace("=", "") } @Test fun testGoogleDotComEncodingWithIPv6() { val encoded = encodeQuery("google.com", TYPE_AAAA)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java
form.ldapAdminSecurityCredentials = null; return asJson(new ApiConfigResponse().setting(form).status(Status.OK).result()); } // POST /api/admin/general @Execute public JsonResponse<ApiResult> post$index(final EditBody body) { validateApi(body, messages -> {}); final EditBody newBody = new EditBody(); AdminGeneralAction.updateForm(fessConfig, newBody);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003.py
from dirty_equals import IsDict, IsOneOf from fastapi.testclient import TestClient from docs_src.response_model.tutorial003 import app client = TestClient(app) def test_post_user(): response = client.post( "/user/", json={ "username": "foo", "password": "fighter", "email": "******@****.***", "full_name": "Grave Dohl", }, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.6K bytes - Viewed (0) -
docs_src/app_testing/app_b_py310/test_main.py
def test_create_item_bad_token(): response = client.post( "/items/", headers={"X-Token": "hailhydra"}, json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"}, ) assert response.status_code == 400 assert response.json() == {"detail": "Invalid X-Token header"} def test_create_existing_item(): response = client.post( "/items/",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/generate_clients/tutorial002_py39.py
email: str @app.post("/items/", response_model=ResponseMessage, tags=["items"]) async def create_item(item: Item): return {"message": "Item received"} @app.get("/items/", response_model=list[Item], tags=["items"]) async def get_items(): return [ {"name": "Plumbus", "price": 3}, {"name": "Portal Gun", "price": 9001}, ]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 730 bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); } /** * Adds {@code node} if it is not already present. * * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null. * * @return this {@code Builder} object */ @CanIgnoreReturnValue public ImmutableValueGraph.Builder<N, V> addNode(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0)