- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 318 for cookie (0.04 sec)
-
tests/test_tutorial/test_cookie_params/test_tutorial001.py
200, {"ads_id": "ads_track"}, ), ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}), ], ) def test(path, cookies, expected_status, expected_response, mod: ModuleType): client = TestClient(mod.app, cookies=cookies) response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_responseRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
* It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`. * It also declares an optional `last_query` cookie, as a `str`. * If the user didn't provide any query `q`, we use the last query used, which we saved to a cookie before. ## Use the dependency { #use-the-dependency } Then we can use the dependency with: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/ru/llm-prompt.md
* editor (meaning component of IDE): редактор кода * adopt (meaning start to use): использовать (or `начать использовать`) * headers (meaning HTTP-headers): HTTP-заголовки * cookie sessions: сессии с использованием cookie * tested (adjective): протестированный * middleware: middleware (don't translate, but add `промежуточный слой` if clarification is needed) * path operation: операция пути (optionally clarify as `обработчик пути`)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Oct 06 11:09:58 UTC 2025 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
{* ../../docs_src/schema_extra_example/tutorial002_py310.py hl[2,8:11] *} ## `examples` in JSON Schema - OpenAPI { #examples-in-json-schema-openapi } When using any of: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/ko/docs/advanced/response-cookies.md
또한 `Response`는 헤더와 쿠키를 설정하는 데 자주 사용되므로, **FastAPI**는 이를 `fastapi.Response`로도 제공합니다. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
## `examples` в JSON Schema — OpenAPI { #examples-in-json-schema-openapi } При использовании любой из функций: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` вы также можете объявить набор `examples` с дополнительной информацией, которая будет добавлена в их **JSON Schema** внутри **OpenAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 14.8K bytes - Viewed (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.net.CookieHandler /** * A cookie jar that delegates to a [java.net.CookieHandler]. * * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which * conforms to the package-naming limitations of JPMS. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 1.2K bytes - Viewed (0) -
fastapi/openapi/models.py
__pydantic_config__ = {"extra": "allow"} # type: ignore[misc] class ParameterInType(Enum): query = "query" header = "header" path = "path" cookie = "cookie" class Encoding(BaseModelWithConfig): contentType: Optional[str] = None headers: Optional[dict[str, Union["Header", Reference]]] = None style: Optional[str] = NoneRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 15.1K bytes - Viewed (0) -
scripts/playwright/cookie_param_models/image01.py
page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("link", name="/items/").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/cookie-param-models/image01.png") # --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"] ) try:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
这里重点说明一下声明的参数: * 尽管该函数自身是依赖项,但还声明了另一个依赖项(它「依赖」于其他对象) * 该函数依赖 `query_extractor`, 并把 `query_extractor` 的返回值赋给参数 `q` * 同时,该函数还声明了类型是 `str` 的可选 cookie(`last_query`) * 用户未提供查询参数 `q` 时,则使用上次使用后保存在 cookie 中的查询 ### 使用依赖项 接下来,就可以使用依赖项: {* ../../docs_src/dependencies/tutorial005.py hl[22] *} /// info | 信息 注意,这里在*路径操作函数*中只声明了一个依赖项,即 `query_or_cookie_extractor` 。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0)