- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 187 for magenta (0.1 sec)
-
tests/test_tutorial/test_header_params/test_tutorial001_an_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):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
@Test fun ofMapAcceptsEmptyValue() { val headers = mapOf("User-Agent" to "").toHeaders() assertThat(headers.value(0)).isEqualTo("") } @Test fun ofMapTrimsKey() { val headers = mapOf(" User-Agent " to "OkHttp").toHeaders() assertThat(headers.name(0)).isEqualTo("User-Agent") } @Test fun ofMapTrimsValue() { val headers = mapOf("User-Agent" to " OkHttp ").toHeaders()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.6K 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)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.8K bytes - Viewed (0) -
cni/pkg/install/install.go
} // Write kubeconfig with our current service account token as the contents, to the Istio agent rundir. // We do not write this to the common/shared CNI config dir, because it's not CNI config, we do not // need to watch it, and writing non-shared stuff to that location creates churn for other node agents. // Only our plugin consumes this kubeconfig, and it resides in our owned rundir on the host node,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
} public void test_getUserAgentType_IE9() { getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)"); assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType()); } public void test_getUserAgentType_IE10() { getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001_an.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)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/01-pkgsite.yml
label: "What is the URL of the page with the issue?" validations: required: true - type: input id: user-agent attributes: label: "What is your user agent?" description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent" validations: required: true - type: textarea id: screenshot attributes: label: "Screenshot"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
assertFailsWith<NullPointerException> { (mapOf("User-Agent" to null) as Map<String, String>).toHeaders() } } @Test fun toMultimapGroupsHeaders() { val headers = Headers.headersOf( "cache-control", "no-cache", "cache-control", "no-store", "user-agent", "OkHttp", ) val headerMap = headers.toMultimap()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots.txt
User-agent: FessCrawler Disallow: # allows all User-agent: BruteBot Disallow: / Allow: /foo/bar/ Crawl-delay: 1314000 # welcome! User-agent: Googlebot Crawl-delay: 1 User-agent: * Disallow: /private/ Disallow: /help # disallows /help.html, /help/index.html, etc. Allow: /help/faq.html Crawl-delay: 3 User-agent: Crawler Disallow: /aaa User-agent: Crawler/1.0 Disallow: /bbb
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 566 bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* Fix: Include a backwards-compatible `OkHttp-Response-Source` header with `OkUrlFactory `responses. * Fix: Don't include a default User-Agent header in requests made with the Call API. Requests made with OkUrlFactory will continue to have a default user agent. * New: Guava-like API to create headers: ```java Headers headers = Headers.of(name1, value1, name2, value2, ...). ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0)