- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 516 for cookies (0.05 seconds)
-
docs/es/docs/tutorial/header-params.md
## Importar `Header` { #import-header } Primero importa `Header`: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Declarar parámetros de `Header` { #declare-header-parameters } Luego declara los parámetros de header usando la misma estructura que con `Path`, `Query` y `Cookie`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/header-params.md
# ヘッダーのパラメータ { #header-parameters } ヘッダーのパラメータは、`Query`や`Path`、`Cookie`のパラメータを定義するのと同じように定義できます。 ## `Header`をインポート { #import-header } まず、`Header`をインポートします: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## `Header`のパラメータの宣言 { #declare-header-parameters } 次に、`Path`や`Query`、`Cookie`と同じ構造を用いてヘッダーのパラメータを宣言します。 デフォルト値に加えて、追加の検証パラメータや注釈パラメータをすべて定義できます: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 16:44:21 GMT 2026 - 3.9K bytes - Click Count (0) -
docs_src/cookie_params/tutorial001_an_py310.py
from typing import Annotated from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: Annotated[str | None, Cookie()] = None):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 205 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
Headers .Builder() .add("content-length", "99") .add("authorization", "peanutbutter") .add("proxy-authorization", "chocolate") .add("cookie", "drink=coffee") .add("set-cookie", "accessory=sugar") .add("user-agent", "OkHttp") .build() val request = Request( "https://square.com".toHttpUrl(), headers, )Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/response-headers.md
你可以在你的*路徑操作函式(path operation function)*中宣告一個 `Response` 型別的參數(就像處理 Cookie 一樣)。 然後你可以在那個*暫時性的* `Response` 物件上設定標頭。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} 接著你可以像平常一樣回傳任何你需要的物件(`dict`、資料庫模型等)。 如果你宣告了 `response_model`,它仍會用來過濾並轉換你回傳的物件。 FastAPI 會使用那個暫時性的回應來擷取標頭(還有 Cookie 與狀態碼),並把它們放到最終回應中;最終回應包含你回傳的值,且會依任何 `response_model` 進行過濾。 你也可以在依賴中宣告 `Response` 參數,並在其中設定標頭(與 Cookie)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs_src/cookie_params/tutorial001_py310.py
from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: str | None = Cookie(default=None)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 170 bytes - Click Count (0) -
docs/es/llm-prompt.md
* path operation: path operation (do not translate to "operación de ruta") * path (as in URL path): path (do not translate to "ruta") * query (as in URL query): query (do not translate to "consulta") * cookie (as in HTTP cookie): cookie * header (as in HTTP header): header * form (as in HTML form): formulario * type checks: chequeo de tipos * parse: parse * parsing: parsing * marshall: marshall
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 5.4K bytes - Click Count (0) -
fastapi/exceptions.py
from fastapi import ( Cookie, FastAPI, WebSocket, WebSocketException, status, ) app = FastAPI() @app.websocket("/items/{item_id}/ws") async def websocket_endpoint( *, websocket: WebSocket, session: Annotated[str | None, Cookie()] = None, item_id: str, ):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 7.3K bytes - Click Count (0) -
docs/ja/docs/advanced/response-headers.md
## `Response` パラメータを使う { #use-a-response-parameter } (Cookie と同様に)*path operation 関数*で `Response` 型のパラメータを宣言できます。 そして、その*一時的*なレスポンスオブジェクトにヘッダーを設定できます。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} その後は通常どおり、必要な任意のオブジェクト(`dict`、データベースモデルなど)を返せます。 `response_model` を宣言している場合は、返したオブジェクトのフィルタと変換に引き続き使用されます。 **FastAPI** はその*一時的*なレスポンスからヘッダー(Cookie やステータスコードも含む)を取り出し、`response_model` によってフィルタされた返却値を含む最終的なレスポンスに反映します。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
assertEquals(Integer.valueOf(3600), defaultExpire); } // Test cookie cipher @Test public void test_provideCookieCipher() { // provideCookieCipher is not directly exposed anymore // Testing through cookie spec creation instead // CookieSpec is not directly available for testing assertNotNull(cookieResourceProvider); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0)