- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 282 for Cookies (0.04 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
import okhttp3.internal.connection.RealConnection internal fun parseCookie( currentTimeMillis: Long, url: HttpUrl, setCookie: String, ): Cookie? = Cookie.parse(currentTimeMillis, url, setCookie) internal fun cookieToString( cookie: Cookie, forObsoleteRfc2965: Boolean, ): String = cookie.toString(forObsoleteRfc2965) internal fun addHeaderLenient( builder: Headers.Builder, line: String,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 3.7K bytes - Click Count (0) -
docs_src/websockets/tutorial002_an_py310.py
from typing import Annotated from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 2.8K bytes - Click Count (0) -
docs_src/websockets/tutorial002_py310.py
from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 2.7K bytes - Click Count (0) -
docs_src/dependencies/tutorial005_py39.py
from typing import Union from fastapi import Cookie, Depends, FastAPI app = FastAPI() def query_extractor(q: Union[str, None] = None): return q def query_or_cookie_extractor( q: str = Depends(query_extractor), last_query: Union[str, None] = Cookie(default=None), ): if not q: return last_query return q @app.get("/items/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 486 bytes - Click Count (0) -
docs_src/websockets/tutorial002_an_py39.py
from typing import Annotated, Union from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 2.8K bytes - Click Count (0) -
docs/uk/docs/tutorial/header-params.md
Ви можете визначати параметри заголовків, так само як визначаєте `Query`, `Path` і `Cookie` параметри. ## Імпорт `Header` Спочатку імпортуйте `Header`: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Оголошення параметрів `Header` Потім оголосіть параметри заголовків, використовуючи ту ж структуру, що й для `Path`, `Query` та `Cookie`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 22 22:02:19 GMT 2025 - 4.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 Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0) -
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 Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 3.2K 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 Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/header-params.md
ヘッダーのパラメータは、`Query`や`Path`、`Cookie`のパラメータを定義するのと同じように定義できます。 ## `Header`をインポート まず、`Header`をインポートします: {* ../../docs_src/header_params/tutorial001.py hl[3] *} ## `Header`のパラメータの宣言 次に、`Path`や`Query`、`Cookie`と同じ構造を用いてヘッダーのパラメータを宣言します。 最初の値がデフォルト値で、追加の検証パラメータや注釈パラメータをすべて渡すことができます。 {* ../../docs_src/header_params/tutorial001.py hl[9] *} /// note | 技術詳細Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 3.8K bytes - Click Count (0)