{
  "id": "starlette-streaming-responses-table",
  "kind": "table",
  "slug": "starlette-streaming-responses",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/starlette-streaming-responses/",
  "title": "Stream a response body from Starlette or FastAPI",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "StreamingResponse",
      "source": "Starlette",
      "detail": "Streams a generator or iterator as the body"
    },
    {
      "name": "media_type",
      "source": "Starlette",
      "detail": "Argument such as text/html"
    },
    {
      "name": "FileResponse",
      "source": "Starlette",
      "detail": "Asynchronously streams a file as the response"
    },
    {
      "name": "await",
      "source": "Starlette",
      "detail": "Needed so an async generator can be cancelled"
    }
  ],
  "related_slugs": [
    "fastapi-response-model",
    "fastapi-async-await",
    "django-request-response"
  ],
  "license": "CC-BY-4.0",
  "source_license": "BSD-3-Clause (Starlette); MIT (FastAPI); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}