Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 500 (0.21 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="13-14"
        {!> ../../../docs_src/dependencies/tutorial008c.py!}
        ```
    
    In this case, the client will see an *HTTP 500 Internal Server Error* response as it should, given that we are not raising an `HTTPException` or similar, but the server will **not have any logs** or any other indication of what was the error. 😱
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Abhängigkeiten mit `yield`, `HTTPException` und Hintergrundtasks
    
    !!! warning "Achtung"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Зависимости с `yield`, `HTTPException` и фоновыми задачами
    
    !!! warning "Внимание"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 04:21:06 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

        如果你引发任何异常,它将传递给带有`yield`的依赖,包括`HTTPException`,然后**再次**传递给异常处理程序。如果没有针对该异常的异常处理程序,那么它将被默认的内部`ServerErrorMiddleware`处理,返回500 HTTP状态码,告知客户端服务器发生了错误。
    
    ## 上下文管理器
    
    ### 什么是“上下文管理器”
    
    “上下文管理器”是您可以在`with`语句中使用的任何Python对象。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top