- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for commonHeaders (0.1 sec)
-
docs_src/header_param_models/tutorial002_pv1_an_py39.py
from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): class Config: extra = "forbid" host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 455 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
import okhttp3.internal.commonCacheResponse import okhttp3.internal.commonClose import okhttp3.internal.commonCode import okhttp3.internal.commonEmptyResponse import okhttp3.internal.commonHeader import okhttp3.internal.commonHeaders import okhttp3.internal.commonIsRedirect import okhttp3.internal.commonIsSuccessful import okhttp3.internal.commonMessage import okhttp3.internal.commonNetworkResponse
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 06 09:38:30 UTC 2024 - 15.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]): return headers ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0)