- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for cooKIE2 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt
"COOKIE" to listOf("Bar=bar"), "cooKIE2" to listOf("Baz=baz"), ) }, ), ).build() server.enqueue(MockResponse()) get(server.url("/")) val request = server.takeRequest() assertThat(request.headers["Cookie"]).isEqualTo("Bar=bar; Baz=baz") assertThat(request.headers["Cookie2"]).isNull() assertThat(request.headers["Quux"]).isNull() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 14.5K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
), ): return data @app.get("/cookie_examples/") def cookie_examples( data: str | None = Cookie( default=None, examples=["cookie1", "cookie2"], ), ): return data with pytest.warns(FastAPIDeprecationWarning): @app.get("/cookie_example_examples/") def cookie_example_examples(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 34.7K bytes - Click Count (0) -
tests/test_openapi_examples.py
"summary": "Cookie One Summary", "description": "Cookie One Description", "value": "cookie1", }, "Cookie Two": { "value": "cookie2", }, }, ), ): return data client = TestClient(app) def test_call_api(): response = client.post("/examples/", json={"data": "example1"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 16.4K bytes - Click Count (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
return emptyList() } var cookies: MutableList<Cookie>? = null for ((key, value) in cookieHeaders) { if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) && value.isNotEmpty() ) { for (header in value) { if (cookies == null) cookies = mutableListOf()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 3.9K bytes - Click Count (0)