- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 220 for agentzh (0.23 sec)
-
docs_src/header_params/tutorial001_py310.py
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: str | None = Header(default=None)):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 182 bytes - Viewed (0) -
docs_src/header_params/tutorial001.py
from typing import Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: Union[str, None] = Header(default=None)):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 214 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
if (cookies.isNotEmpty()) { requestBuilder.header("Cookie", cookieHeader(cookies)) } if (userRequest.header("User-Agent") == null) { requestBuilder.header("User-Agent", USER_AGENT) } val networkRequest = requestBuilder.build() val networkResponse = chain.proceed(networkRequest) cookieJar.receiveHeaders(networkRequest.url, networkResponse.headers)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (2) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
TF_CoordinationServiceAgent* agent); TF_CAPI_EXPORT extern void TF_CoordinationServiceInsertKeyValue( const char* key, int64_t key_size, const char* value, int64_t value_size, TF_CoordinationServiceAgent* agent, TF_Status* status); // Obtains key-value from coordination service agent. The returned `TF_Buffer` // is a newly allocated buffer to hold the string key-value, and caller is
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
if (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX) && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX)) { paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName()); } else { paramMap.put(Client.USER_AGENT, userAgent); } } else { paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName()); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestCommonTest.kt
class RequestCommonTest { @Test fun constructorNormal() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody() val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, )
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001.py
@pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], ) def test(path, headers, expected_status, expected_response): response = client.get(path, headers=headers)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.8K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001_py310.py
@needs_py310 @pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], ) def test(path, headers, expected_status, expected_response, client: TestClient):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4K bytes - Viewed (0) -
.gitignore
istio.VERSION LICENSES.txt # Proxy generated proxy config in integration test tests/integration/component/proxy/envoy.conf **/var/run/secrets/ # Certs generated by testing security/cmd/node_agent/na/cert_file security/cmd/node_agent/na/pkey # istioctl bash completion file tools/istioctl.bash vendor # Contains the built artifacts out/ etc/ var/ # Go compiled tests *.test # Profiles *.prof
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jun 14 16:23:45 GMT 2022 - 1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/Gradleception.kt
"Builds Gradle with the version of Gradle which is currently under development (twice)$descriptionSuffix" requirements { // Gradleception is a heavy build which runs ~40m on EC2 agents but only ~20m on Hetzner agents requiresNotEc2Agent() requiresNotSharedHost() } features { publishBuildStatusToGithub(model) } dependencies {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 27 09:57:17 GMT 2024 - 6K bytes - Viewed (0)