- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 310 for cookey (0.1 sec)
-
tests/test_openapi_examples.py
def cookie_examples( data: Union[str, None] = Cookie( default=None, examples=["json_schema_cookie1", "json_schema_cookie2"], openapi_examples={ "Cookie One": { "summary": "Cookie One Summary", "description": "Cookie One Description", "value": "cookie1", }, "Cookie Two": { "value": "cookie2",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K bytes - Viewed (0) -
docs/em/docs/tutorial/cookie-params.md
``` //// /// note | "๐ก โน" `Cookie` "๐ญ" ๐ `Path` & `Query`. โซ๏ธ ๐ โช๏ธโก๏ธ ๐ โ `Param` ๐. โ๏ธ ๐ญ ๐ ๐โ ๐ ๐ `Query`, `Path`, `Cookie` & ๐ โช๏ธโก๏ธ `fastapi`, ๐ ๐ค ๐ข ๐ ๐จ ๐ ๐. /// /// info ๐ฃ ๐ช, ๐ ๐ช โ๏ธ `Cookie`, โฉ๏ธ โช ๐ข ๐ ๐ฌ ๐ข ๐ข. /// ## ๐
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/cookie-params.md
``` //// /// note | "ๆๆฏ็ป่" `Cookie` ใ`Path` ใ`Query` ๆฏ**ๅ ๅผ็ฑป**๏ผ้ฝ็ปงๆฟ่ชๅ ฑ็จ็ `Param` ็ฑปใ ๆณจๆ๏ผไป `fastapi` ๅฏผๅ ฅ็ `Query`ใ`Path`ใ`Cookie` ็ญๅฏน่ฑก๏ผๅฎ้ ไธๆฏ่ฟๅ็นๆฎ็ฑป็ๅฝๆฐใ /// /// info | "่ฏดๆ" ๅฟ ้กปไฝฟ็จ `Cookie` ๅฃฐๆ cookie ๅๆฐ๏ผๅฆๅ่ฏฅๅๆฐไผ่ขซ่งฃ้ไธบๆฅ่ฏขๅๆฐใ /// ## ๅฐ็ป
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/cookie-params.md
``` //// /// note | "๊ธฐ์ ์ธ๋ถ์ฌํญ" `Cookie`๋ `Path` ๋ฐ `Query`์ "์๋งค"ํด๋์ค์ ๋๋ค. ์ด ์ญ์ ๋์ผํ ๊ณตํต `Param` ํด๋์ค๋ฅผ ์์ํฉ๋๋ค. `Query`, `Path`, `Cookie` ๊ทธ๋ฆฌ๊ณ ๋ค๋ฅธ ๊ฒ๋ค์ `fastapi`์์ ์ํฌํธ ํ ๋, ์ค์ ๋ก๋ ํน๋ณํ ํด๋์ค๋ฅผ ๋ฐํํ๋ ํจ์์์ ๊ธฐ์ตํ์ธ์. /// /// info | "์ ๋ณด" ์ฟ ํค๋ฅผ ์ ์ธํ๊ธฐ ์ํด์๋ `Cookie`๋ฅผ ์ฌ์ฉํด์ผ ํฉ๋๋ค. ๊ทธ๋ ์ง ์์ผ๋ฉด ํด๋น ๋งค๊ฐ๋ณ์๋ฅผ ์ฟผ๋ฆฌ ๋งค๊ฐ๋ณ์๋ก ํด์ํ๊ธฐ ๋๋ฌธ์ ๋๋ค. /// ## ์์ฝ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/ko/docs/advanced/response-cookies.md
๋ํ `Response`๋ ํค๋์ ์ฟ ํค๋ฅผ ์ค์ ํ๋ ๋ฐ ์์ฃผ ์ฌ์ฉ๋๋ฏ๋ก, **FastAPI**๋ ์ด๋ฅผ `fastapi.Response`๋ก๋ ์ ๊ณตํฉ๋๋ค. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:32:45 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt
private val requestCookies: Deque<List<Cookie>> = ArrayDeque() private val responseCookies: Deque<List<Cookie>> = ArrayDeque() fun enqueueRequestCookies(vararg cookies: Cookie) { requestCookies.add(cookies.toList()) } fun takeResponseCookies(): List<Cookie> { return responseCookies.removeFirst() } fun assertResponseCookies(vararg cookies: String?) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CookieJar.kt
* cookies. */ fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>, ) /** * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly * empty list of cookies for the network request. * * Simple implementations will return the accepted cookies that have not yet expired and that
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
} return responseBuilder.build() } /** Returns a 'Cookie' HTTP request header with all cookies, like `a=b; c=d`. */ private fun cookieHeader(cookies: List<Cookie>): String = buildString { cookies.forEachIndexed { index, cookie -> if (index > 0) append("; ") append(cookie.name).append('=').append(cookie.value) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
client = TestClient(mod.app) return client def test_cookie_param_model(client: TestClient): with client as c: c.cookies.set("session_id", "123") c.cookies.set("fatebook_tracker", "456") c.cookies.set("googall_tracker", "789") response = c.get("/items/") assert response.status_code == 200 assert response.json() == { "session_id": "123",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.6K bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial001_py310.py
from fastapi import Cookie, FastAPI from pydantic import BaseModel app = FastAPI() class Cookies(BaseModel): session_id: str fatebook_tracker: str | None = None googall_tracker: str | None = None @app.get("/items/") async def read_items(cookies: Cookies = Cookie()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 303 bytes - Viewed (0)