- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 123 for Magenta (0.2 sec)
-
.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 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 14 16:23:45 GMT 2022 - 1K 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) -
docs_src/header_params/tutorial001_an.py
from typing import Union from fastapi import FastAPI, Header from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 259 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) -
docs/features/interceptors.md
OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new LoggingInterceptor()) .build(); Request request = new Request.Builder() .url("http://www.publicobject.com/helloworld.txt") .header("User-Agent", "OkHttp Example") .build(); Response response = client.newCall(request).execute(); response.body().close(); ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
// SecretItemDiff represents a secret that has been diffed between nodeagent and proxy type SecretItemDiff struct { Agent string `json:"agent"` Proxy string `json:"proxy"` SecretItem } // SecretItem is an intermediate representation of secrets, used to provide a common // format between the envoy proxy secrets and node agent output which can be diffed type SecretItem struct { Name string `json:"resource_name"`
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt
} @get:Classpath val coreJars: SortedSet<File> get() = filesIn("lib/*.jar") @get:Classpath val agentJars: SortedSet<File> get() = filesIn("lib/agents/*.jar") @get:Classpath val pluginJars: SortedSet<File> get() = filesIn("lib/plugins/*.jar") private fun filesIn(glob: String) = gradleHomeDir.asFileTree.matching { include(glob)
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Dec 16 19:35:39 GMT 2022 - 1.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SmokeTests.kt
features { publishBuildStatusToGithub(model) } tcParallelTests(splitNumber) requirements { // Smoke tests is usually heavy and the build time is twice on EC2 agents requiresNotEc2Agent() } applyTestDefaults( model, this, ":smoke-test:$task", timeout = 120, extraParameters = buildScanTag("SmokeTests") +
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 16:49:31 GMT 2024 - 1.1K bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.header("User-Agent")).isEqualTo("foo") assertThat(request.body).isNull() } @Test fun defaultUserAgent() { val request = fromArgs("http://example.com").createRequest() assertThat(request.header("User-Agent")!!).startsWith("okcurl/") } @Test fun headerSplitWithDate() { val request =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
But a variable like `user-agent` is invalid in Python. So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers. Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.8K bytes - Viewed (0)