Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for handling (0.35 sec)

  1. docs/en/docs/deployment/https.md

        * And then they need to be **renewed**, **acquired again** from the third party.
    * The encryption of the connection happens at the **TCP level**.
        * That's one layer **below HTTP**.
        * So, the **certificate and encryption** handling is done **before HTTP**.
    * **TCP doesn't know about "domains"**. Only about IP addresses.
        * The information about the **specific domain** requested goes in the **HTTP data**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ๐Ÿ‘† ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿ”— โฎ๏ธ `yield` & โœ”๏ธ `try` ๐Ÿซ ๐Ÿ‘ˆ โœŠ โš .
    
    โšซ๏ธ 5๏ธโƒฃ๐Ÿ“† ๐Ÿ˜‹ ๐Ÿคš `HTTPException` โš–๏ธ ๐ŸŽ ๐Ÿšช ๐Ÿ“Ÿ, โฎ๏ธ `yield`. โœ‹๏ธ **โšซ๏ธ ๐Ÿ† ๐Ÿšซ ๐Ÿ‘ท**.
    
    ๐Ÿšช ๐Ÿ“Ÿ ๐Ÿ”— โฎ๏ธ `yield` ๐Ÿ› ๏ธ *โฎ๏ธ* ๐Ÿ“จ ๐Ÿ“จ, [โš  ๐Ÿ•โ€๐Ÿฆบ](../handling-errors.md#_4){.internal-link target=_blank} ๐Ÿ”œ โœ”๏ธ โช ๐Ÿƒ. ๐Ÿ“ค ๐Ÿ•ณ ๐Ÿ˜ฝ โš  ๐Ÿšฎ ๐Ÿ‘† ๐Ÿ”— ๐Ÿšช ๐Ÿ“Ÿ (โฎ๏ธ `yield`).
    
    , ๐Ÿšฅ ๐Ÿ‘† ๐Ÿคš `HTTPException` โฎ๏ธ `yield`, ๐Ÿ”ข (โš–๏ธ ๐Ÿ™† ๐Ÿ›ƒ) โš  ๐Ÿ•โ€๐Ÿฆบ ๐Ÿ‘ˆ โœŠ `HTTPException`โ“‚ & ๐Ÿ“จ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” 4๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ ๐Ÿ“จ ๐Ÿ† ๐Ÿšซ ๐Ÿ“ค โœŠ ๐Ÿ‘ˆ โš  ๐Ÿšซ๐Ÿ”œ.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/custom-request-and-route.md

    ไน‹ๅŽ๏ผŒๆ‰€ๆœ‰ๅค„็†้€ป่พ‘้ƒฝไธ€ๆ ทใ€‚
    
    ไฝ†ๅ› ไธบๆ”นๅ˜ไบ† `GzipRequest.body`๏ผŒ**FastAPI** ๅŠ ่ฝฝ่ฏทๆฑ‚ไฝ“ๆ—ถไผš่‡ชๅŠจ่งฃๅŽ‹ใ€‚
    
    ## ๅœจๅผ‚ๅธธๅค„็†ๅ™จไธญ่ฎฟ้—ฎ่ฏทๆฑ‚ไฝ“
    
    !!! tip "ๆ็คบ"
    
        ไธบไบ†่งฃๅ†ณๅŒๆ ท็š„้—ฎ้ข˜๏ผŒๅœจ `RequestValidationError` ็š„่‡ชๅฎšไน‰ๅค„็†ๅ™จไฝฟ็”จ `body`  ๏ผˆ[ๅค„็†้”™่ฏฏ](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}๏ผ‰ๅฏ่ƒฝไผšๆ›ดๅฎนๆ˜“ใ€‚
    
        ไฝ†ๆœฌไพ‹ไป็„ถๅฏ่กŒ๏ผŒ่€Œไธ”ๆœฌไพ‹ๅฑ•็คบไบ†ๅฆ‚ไฝ•ไธŽๅ†…้ƒจ็ป„ไปถ่ฟ›่กŒไบคไบ’ใ€‚
    
    ๅŒๆ ทไนŸๅฏไปฅๅœจๅผ‚ๅธธๅค„็†ๅ™จไธญ่ฎฟ้—ฎ่ฏทๆฑ‚ไฝ“ใ€‚
    
    ๆญคๆ—ถ่ฆๅš็š„ๅชๆ˜ฏๅค„็† `try`/`except` ไธญ็š„่ฏทๆฑ‚๏ผš
    
    ```Python hl_lines="13  15"
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:45:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/sub-applications.md

    ## Mounting a **FastAPI** application
    
    "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application.
    
    ### Top-level application
    
    First, create the main, top-level, **FastAPI** application, and its *path operations*:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. docs/em/docs/how-to/custom-request-and-route.md

    โฎ๏ธ ๐Ÿ‘ˆ, ๐ŸŒ ๐Ÿญ โš› ๐ŸŽ.
    
    โœ‹๏ธ โ†ฉ๏ธ ๐Ÿ‘† ๐Ÿ”€ `GzipRequest.body`, ๐Ÿ“จ ๐Ÿ’ช ๐Ÿ”œ ๐Ÿ” ๐Ÿ—œ ๐Ÿ•โ” โšซ๏ธ ๐Ÿ“ **FastAPI** ๐Ÿ•โ” ๐Ÿ’ช.
    
    ## ๐Ÿ” ๐Ÿ“จ ๐Ÿ’ช โš  ๐Ÿ•โ€๐Ÿฆบ
    
    !!! tip
        โŽ ๐Ÿ‘‰ ๐ŸŽ โš , โšซ๏ธ ๐ŸŽฒ ๐Ÿ“š โฉ โš™๏ธ `body` ๐Ÿ›ƒ ๐Ÿ•โ€๐Ÿฆบ `RequestValidationError` ([๐Ÿšš โŒ](../tutorial/handling-errors.md#requestvalidationerror){.internal-link target=_blank}).
    
        โœ‹๏ธ ๐Ÿ‘‰ ๐Ÿ–ผ โ˜‘ & โšซ๏ธ ๐ŸŽฆ โ” ๐Ÿ”— โฎ๏ธ ๐Ÿ”— ๐Ÿฆฒ.
    
    ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ ๐Ÿ‘‰ ๐ŸŽ ๐ŸŽฏ ๐Ÿ” ๐Ÿ“จ ๐Ÿ’ช โš  ๐Ÿ•โ€๐Ÿฆบ.
    
    ๐ŸŒ ๐Ÿ‘ฅ ๐Ÿ’ช ๐Ÿต ๐Ÿ“จ ๐Ÿ”˜ `try`/`except` ๐Ÿซ:
    
    ```Python hl_lines="13  15"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

            * [Install custom exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers).
            * [Override the default exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#override-the-default-exception-handlers).
            * [Re-use **FastAPI's** exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#re-use-fastapis-exception-handlers).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  7. docs/en/docs/deployment/concepts.md

    The main constraint to consider is that there has to be a **single** component handling the **port** in the **public IP**. And then it has to have a way to **transmit** the communication to the replicated **processes/workers**.
    
    Here are some possible combinations and strategies:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

    !!! tip
        Notice that the query `token` will be handled by a dependency.
    
    With that you can connect the WebSocket and then send and receive messages:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## Handling disconnections and multiple clients
    
    When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

        ```
    
    Eine Alternative zum Abfangen von Exceptions (und mรถglicherweise auch zum Auslรถsen einer weiteren `HTTPException`) besteht darin, einen [benutzerdefinierten Exceptionhandler](../handling-errors.md#benutzerdefinierte-exceptionhandler-definieren){.internal-link target=_blank} zu erstellen.
    
    ## Ausfรผhrung von Abhรคngigkeiten mit `yield`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/first-steps.md

    #### Define a *path operation decorator*
    
    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    The `@app.get("/")` tells **FastAPI** that the function right below is in charge of handling requests that go to:
    
    * the path `/`
    * using a <abbr title="an HTTP GET method"><code>get</code> operation</abbr>
    
    !!! info "`@decorator` Info"
        That `@something` syntax in Python is called a "decorator".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top