- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CommonHeaders (0.13 sec)
-
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:51:17 UTC 2024 - 449.4K bytes - Viewed (0)