- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for headers (0.62 seconds)
-
docs/en/docs/release-notes.md
traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]): return headers ``` Read the new docs: [Header Parameter Models](https://fastapi.tiangolo.com/tutorial/header-param-models/). #### `Cookie` Parameter Models Use Pydantic models for `Cookie` parameters: ```pythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
docs/en/mkdocs.yml
- tutorial/body-nested-models.md - tutorial/schema-extra-example.md - tutorial/extra-data-types.md - tutorial/cookie-params.md - tutorial/header-params.md - tutorial/cookie-param-models.md - tutorial/header-param-models.md - tutorial/response-model.md - tutorial/extra-models.md - tutorial/response-status-code.md - tutorial/request-forms.mdCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 9.9K bytes - Click Count (0) -
fastapi/applications.py
When `True` (the default), requests with a body that do not include a `Content-Type` header will **not** be parsed as JSON. This prevents potential cross-site request forgery (CSRF) attacks that exploit the browser's ability to send requests without a Content-Type header, bypassing CORS preflight checks. In particularCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0) -
RELEASE.md
# Release 2.17.1 ### Bug Fixes and Other Changes * Add necessary header files in the aar library. These are needed if developers build apps with header files unpacked from tflite aar files from maven. * Implement Name() for GCSWritableFile to fix the profiler trace viewer cache file generation.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
scripts/add_latest_release_date.py
"""Check release-notes.md and add today's date to the latest release header if missing.""" import re import sys from datetime import date RELEASE_NOTES_FILE = "docs/en/docs/release-notes.md" RELEASE_HEADER_PATTERN = re.compile(r"^## (\d+\.\d+\.\d+)\s*(\(.*\))?\s*$") def main() -> None: with open(RELEASE_NOTES_FILE) as f: lines = f.readlines() for i, line in enumerate(lines):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 1023 bytes - Click Count (0) -
fastapi/__init__.py
from .param_functions import Cookie as Cookie from .param_functions import Depends as Depends from .param_functions import File as File from .param_functions import Form as Form from .param_functions import Header as Header from .param_functions import Path as Path from .param_functions import Query as Query from .param_functions import Security as Security from .requests import Request as Request from .responses import Response as Response
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:21:01 GMT 2026 - 1.1K bytes - Click Count (0) -
.pre-commit-config.yaml
entry: uv run ./scripts/translation_fixer.py fix-pages files: ^docs/(?!en/).*/docs/.*\.md$ - id: add-release-date language: unsupported name: add date to latest release header entry: uv run python scripts/add_latest_release_date.py files: ^docs/en/docs/release-notes\.md$Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 2.6K bytes - Click Count (1) -
src/cmd/asm/main.go
case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush() architecture.Init(ctxt) // Create object file, write header. buf, err := bio.Create(*flags.OutputFile) if err != nil { log.Fatal(err) } defer buf.Close() if !*flags.SymABIs { buf.WriteString(objabi.HeaderString()) fmt.Fprintf(buf, "!\n") }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Apr 02 17:07:18 GMT 2026 - 3K bytes - Click Count (0)