- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 290 for cookie2 (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/tr/docs/tutorial/header-params.md
`Query`, `Path` ve `Cookie` parametrelerini nasıl tanımlıyorsanız, Header parametrelerini de aynı şekilde tanımlayabilirsiniz. ## `Header`'ı Import Edin { #import-header } Önce `Header`'ı import edin: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## `Header` Parametrelerini Tanımlayın { #declare-header-parameters }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 15:43:38 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/header-params.md
## Importe `Header` { #import-header } Primeiro importe `Header`: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Declare parâmetros de `Header` { #declare-header-parameters } Então declare os paramêtros de cabeçalho usando a mesma estrutura que em `Path`, `Query` e `Cookie`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
roleQueryHelper.addCookieNameMapping("admin", "administrator"); roleQueryHelper.addCookieNameMapping("user", "regular_user"); Cookie adminCookie = new Cookie("admin", "true"); Cookie userCookie = new Cookie("user", "true"); Cookie otherCookie = new Cookie("other", "value"); getMockRequest().addCookie(adminCookie); getMockRequest().addCookie(userCookie);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/header-params.md
# Header 參數 { #header-parameters } 你可以用與定義 `Query`、`Path`、`Cookie` 參數相同的方式來定義 Header 參數。 ## 匯入 `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] *} /// note | 注意Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/ko/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`를 사용한 동일한 구조를 이용하여 헤더 매개변수를 선언합니다. 첫 번째 값은 기본값이며, 추가 검증이나 어노테이션 매개변수 모두 전달할 수 있습니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Jan 11 00:15:26 GMT 2026 - 3.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun cookie() { val cookie: Cookie = Cookie.Builder().build() val name: String = cookie.name() val value: String = cookie.value() val persistent: Boolean = cookie.persistent() val expiresAt: Long = cookie.expiresAt() val hostOnly: Boolean = cookie.hostOnly() val domain: String = cookie.domain() val path: String = cookie.path()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0) -
docs/tr/docs/features.md
* API anahtarları: * Header’larda. * Query parametrelerinde. * Cookie’lerde vb. Buna ek olarak Starlette’in tüm güvenlik özellikleri (**session cookies** dâhil). Tümü, sistemleriniz, veri depolarınız, ilişkisel ve NoSQL veritabanlarınız vb. ile kolayca entegre edilebilen, yeniden kullanılabilir araçlar ve bileşenler olarak inşa edilmiştir.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial005_py310.py
from fastapi import Cookie, Depends, FastAPI app = FastAPI() def query_extractor(q: str | None = None): return q def query_or_cookie_extractor( q: str = Depends(query_extractor), last_query: str | None = Cookie(default=None) ): if not q: return last_query return q @app.get("/items/") async def read_query(query_or_default: str = Depends(query_or_cookie_extractor)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 443 bytes - Click Count (0) -
docs/pt/docs/advanced/response-headers.md
**FastAPI** usará essa resposta *temporária* para extrair os cabeçalhos (cookies e código de status também) e os colocará na resposta final que contém o valor que você retornou, filtrado por qualquer `response_model`. Você também pode declarar o parâmetro `Response` em dependências e definir cabeçalhos (e cookies) nelas. ## Retorne uma `Response` diretamente { #return-a-response-directly }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.4K bytes - Click Count (0) -
docs_src/dependencies/tutorial005_an_py310.py
from typing import Annotated from fastapi import Cookie, Depends, FastAPI app = FastAPI() def query_extractor(q: str | None = None): return q def query_or_cookie_extractor( q: Annotated[str, Depends(query_extractor)], last_query: Annotated[str | None, Cookie()] = None, ): if not q: return last_query return q @app.get("/items/") async def read_query(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 510 bytes - Click Count (0)