Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 622 for request_ (0.14 sec)

  1. docs/pt/docs/alternatives.md

    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a>
    
    **FastAPI** não é uma alternativa para **Requests**. O escopo deles é muito diferente.
    
    Na verdade é comum utilizar Requests *dentro* de uma aplicação FastAPI.
    
    Ainda assim, FastAPI pegou alguma inspiração do Requests.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/using-request-directly.md

    ///
    
    ## `Request`-Dokumentation
    
    Weitere Details zum <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`-Objekt finden Sie in der offiziellen Starlette-Dokumentation</a>.
    
    /// note | "Technische Details"
    
    Sie können auch `from starlette.requests import Request` verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/using-request-directly.md

    ///
    
    ## Documentação do `Request`
    
    Você pode ler mais sobre os detalhes do objeto <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` no site da documentação oficial do Starlette.</a>.
    
    /// note | "Detalhes Técnicos"
    
    Você também pode utilizar `from starlette.requests import Request`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/using-request-directly.md

    但在某些特定情况下,还是需要提取 `Request` 对象。
    
    ## 直接使用 `Request` 对象
    
    假设要在*路径操作函数*中获取客户端 IP 地址和主机。
    
    此时,需要直接访问请求。
    
    ```Python hl_lines="1  7-8"
    {!../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。
    
    /// tip | "提示"
    
    注意,本例除了声明请求参数之外,还声明了路径参数。
    
    因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。
    
    同样,您也可以正常声明其它参数,而且还可以提取 `Request`。
    
    ///
    
    ## `Request` 文档
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/custom-request-and-route.md

    Ein `Request` hat auch ein `request.receive`, welches eine Funktion ist, die den Hauptteil des Requests empfängt.
    
    Das `scope`-`dict` und die `receive`-Funktion sind beide Teil der ASGI-Spezifikation.
    
    Und diese beiden Dinge, `scope` und `receive`, werden benötigt, um eine neue `Request`-Instanz zu erstellen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/pt/docs/how-to/custom-request-and-route.md

    Para aprender mais sobre o `Request` confira a <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">documentação do Starlette sobre Requests</a>.
    
    ///
    
    A única coisa que a função retornada por `GzipRequest.get_route_handler` faz de diferente é converter o `Request` para um `GzipRequest`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/using-request-directly.md

    🎏 🌌, 👆 💪 📣 🙆 🎏 🔢 🛎, &amp; ➡, 🤚 `Request` 💁‍♂️.
    
    ///
    
    ## `Request` 🧾
    
    👆 💪 ✍ 🌅 ℹ 🔃 <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` 🎚 🛂 💃 🧾 🕸</a>.
    
    /// note | "📡 ℹ"
    
    👆 💪 ⚙️ `from starlette.requests import Request`.
    
    **FastAPI** 🚚 ⚫️ 🔗 🏪 👆, 👩‍💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/using-request-directly.md

    You can read more details about the <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` object in the official Starlette documentation site</a>.
    
    /// note | "Technical Details"
    
    You could also use `from starlette.requests import Request`.
    
    **FastAPI** provides it directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/custom-request-and-route.md

    Here we use it to create a `GzipRequest` from the original request.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[18:26] *}
    
    /// note | "Technical Details"
    
    A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/request-files.md

    # Dateien im Request
    
    Mit `File` können sie vom Client hochzuladende Dateien definieren.
    
    /// info
    
    Um hochgeladene Dateien zu empfangen, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>.
    
    Z. B. `pip install python-multipart`.
    
    Das, weil hochgeladene Dateien als „Formulardaten“ gesendet werden.
    
    ///
    
    ## `File` importieren
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top