Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for handlePing (0.17 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. tests/test_tutorial/test_handling_errors/test_tutorial002.py

    from fastapi.testclient import TestClient
    
    from docs_src.handling_errors.tutorial002 import app
    
    client = TestClient(app)
    
    
    def test_get_item_header():
        response = client.get("/items-header/foo")
        assert response.status_code == 200, response.text
        assert response.json() == {"item": "The Foo Wrestlers"}
    
    
    def test_get_item_not_found_header():
        response = client.get("/items-header/bar")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.3K 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/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)
  6. 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)
  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/tutorial/bigger-applications.md

    โ”‚ย ย      โ”œโ”€โ”€ __init__.py  # makes "internal" a "Python subpackage"
    โ”‚ย ย      โ””โ”€โ”€ admin.py     # "admin" submodule, e.g. import app.internal.admin
    ```
    
    ## `APIRouter`
    
    Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
    
    You want to have the *path operations* related to your users separated from the rest of the code, to keep it organized.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    ## Recap
    
    With what you have seen up to now, you can set up a secure **FastAPI** application using standards like OAuth2 and JWT.
    
    In almost any framework handling the security becomes a rather complex subject quite quickly.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/handling-errors.md

    ## Use o `HTTPException`
    
    Para retornar ao cliente *responses* HTTP com erros, use o `HTTPException`.
    
    ### Import `HTTPException`
    
    ```Python hl_lines="1"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### Lance o `HTTPException` no seu cรณdigo.
    
    `HTTPException`, ao fundo, nada mais รฉ do que a conjunรงรฃo entre uma exceรงรฃo comum do Python e informaรงรตes adicionais relevantes para APIs.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top