Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 226 for Unicorn (0.08 sec)

  1. docs/pt/docs/tutorial/handling-errors.md

    ```Python hl_lines="5-7  13-18  24"
    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Nesse cenário, se você fizer uma requisição para `/unicorns/yolo`, a *operação de caminho* vai lançar (`raise`) o `UnicornException`.
    
    Essa exceção será manipulada, contudo, pelo `unicorn_exception_handler`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/handling-errors.md

    Можно добавить собственный обработчик исключений с помощью `@app.exception_handler()`:
    
    ```Python hl_lines="5-7  13-18  24"
    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Здесь, если запросить `/unicorns/yolo`, то *операция пути* вызовет `UnicornException`.
    
    Но оно будет обработано `unicorn_exception_handler`.
    
    Таким образом, вы получите чистую ошибку с кодом состояния HTTP `418` и содержимым JSON:
    
    ```JSON
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. docs/ja/docs/deployment/https.md

    <img src="/img/deployment/https/https04.svg">
    
    ### リクエストの復号化
    
    TLS Termination Proxy は、合意が取れている暗号化を使用して、**リクエストを復号化**し、**プレーン (復号化された) HTTP リクエスト** をアプリケーションを実行しているプロセス (例えば、FastAPI アプリケーションを実行している Uvicorn を持つプロセス) に送信します。
    
    <img src="/img/deployment/https/https05.svg">
    
    ### HTTP レスポンス
    
    アプリケーションはリクエストを処理し、**プレーン(暗号化されていない)HTTPレスポンス** をTLS Termination Proxyに送信します。
    
    <img src="/img/deployment/https/https06.svg">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/openapi-callbacks.md

    {!../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    /// tip | "提示"
    
    注意,不能把路由本身(`invoices_callback_router`)传递给 `callback=`,要传递 `invoices_callback_router.routes` 中的 `.routes` 属性。
    
    ///
    
    ### 查看文档
    
    现在,使用 Uvicorn 启动应用,打开 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs。</a>
    
    就能看到文档的*路径操作*已经包含了**回调**的内容以及*外部 API*:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    ### Run the App
    
    You can run the app:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/openapi-callbacks.md

    ```
    
    /// tip
    
    👀 👈 👆 🚫 🚶‍♀️ 📻 ⚫️ (`invoices_callback_router`) `callback=`, ✋️ 🔢 `.routes`, `invoices_callback_router.routes`.
    
    ///
    
    ### ✅ 🩺
    
    🔜 👆 💪 ▶️ 👆 📱 ⏮️ Uvicorn &amp; 🚶 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    👆 🔜 👀 👆 🩺 ✅ "⏲" 📄 👆 *➡ 🛠️* 👈 🎦 ❔ *🔢 🛠️* 🔜 👀 💖:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. docs/zh/docs/help-fastapi.md

    您还可以赞助:
    
    * <a href="https://github.com/sponsors/samuelcolvin" class="external-link" target="_blank">Samuel Colvin (Pydantic)</a>
    * <a href="https://github.com/sponsors/encode" class="external-link" target="_blank">Encode (Starlette, Uvicorn)</a>
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    1F97B         ; valid                  ;      ; NV8    # 12.0 SARI
    1F97C..1F97F  ; valid                  ;      ; NV8    # 11.0 LAB COAT..FLAT SHOE
    1F980..1F984  ; valid                  ;      ; NV8    # 8.0  CRAB..UNICORN FACE
    1F985..1F991  ; valid                  ;      ; NV8    # 9.0  EAGLE..SQUID
    1F992..1F997  ; valid                  ;      ; NV8    # 10.0 GIRAFFE FACE..CRICKET
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/handling-errors.md

    You could add a custom exception handler with `@app.exception_handler()`:
    
    ```Python hl_lines="5-7  13-18  24"
    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Here, if you request `/unicorns/yolo`, the *path operation* will `raise` a `UnicornException`.
    
    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/handling-errors.md

    Sie könnten einen benutzerdefinierten Exceptionhandler mittels `@app.exception_handler()` hinzufügen:
    
    ```Python hl_lines="5-7  13-18  24"
    {!../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Wenn Sie nun `/unicorns/yolo` anfragen, `raise`d die *Pfadoperation* eine `UnicornException`.
    
    Aber diese wird von `unicorn_exception_handler` gehandhabt.
    
    Sie erhalten also einen sauberen Error mit einem Statuscode `418` und dem JSON-Inhalt:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top