Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 342 for Starlette (0.36 sec)

  1. tests/test_starlette_exception.py

    
    def test_get_starlette_item():
        response = client.get("/starlette-items/foo")
        assert response.status_code == 200, response.text
        assert response.json() == {"item": "The Foo Wrestlers"}
    
    
    def test_get_starlette_item_not_found():
        response = client.get("/starlette-items/bar")
        assert response.status_code == 404, response.text
        assert response.headers.get("x-error") is None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/versions.md

    ## About Starlette { #about-starlette }
    
    You shouldn't pin the version of `starlette`.
    
    Different versions of **FastAPI** will use a specific newer version of Starlette.
    
    So, you can just let **FastAPI** use the correct Starlette version.
    
    ## About Pydantic { #about-pydantic }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. docs/es/docs/deployment/versions.md

    ## Sobre Starlette { #about-starlette }
    
    No deberías fijar la versión de `starlette`.
    
    Diferentes versiones de **FastAPI** utilizarán una versión más reciente específica de Starlette.
    
    Así que, puedes simplemente dejar que **FastAPI** use la versión correcta de Starlette.
    
    ## Sobre Pydantic { #about-pydantic }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    **FastAPI** then takes that JSON Schema data and puts it in OpenAPI, apart from all the other things it does.
    
    ///
    
    ### <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> { #starlette }
    
    Starlette is a lightweight <abbr title="The new standard for building asynchronous Python web applications">ASGI</abbr> framework/toolkit, which is ideal for building high-performance asyncio services.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. fastapi/websockets.py

    from starlette.websockets import WebSocket as WebSocket  # noqa
    from starlette.websockets import WebSocketDisconnect as WebSocketDisconnect  # noqa
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Sep 04 15:12:10 UTC 2022
    - 222 bytes
    - Viewed (0)
  6. docs/en/docs/advanced/middleware.md

    ## Adding ASGI middlewares { #adding-asgi-middlewares }
    
    As **FastAPI** is based on Starlette and implements the <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr> specification, you can use any ASGI middleware.
    
    A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/background-tasks.md

    Класс `BackgroundTasks` приходит напрямую из <a href="https://www.starlette.dev/background/" class="external-link" target="_blank">`starlette.background`</a>.
    
    Он импортируется/включается прямо в FastAPI, чтобы вы могли импортировать его из `fastapi` и избежать случайного импорта альтернативного `BackgroundTask` (без `s` на конце) из `starlette.background`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-headers.md

    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/response-cookies.md

    ### 추가 정보
    
    /// note | 기술적 세부사항
    
    `from starlette.responses import Response` 또는 `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자의 편의를 위해 `fastapi.responses`로 동일한 `starlette.responses`를 제공합니다. 그러나 대부분의 응답은 Starlette에서 직접 제공됩니다.
    
    또한 `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)
  10. docs/uk/docs/tutorial/background-tasks.md

    ## Технічні деталі
    
    Клас `BackgroundTasks` походить безпосередньо з <a href="https://www.starlette.dev/background/" class="external-link" target="_blank">`starlette.background`</a>.
    
    Він імпортується безпосередньо у FastAPI, щоб Ви могли використовувати його з `fastapi` і випадково не імпортували `BackgroundTask` (без s в кінці) з `starlette.background`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top