Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 557 for tipy (0.03 sec)

  1. docs/ru/docs/tutorial/security/index.md

    В настоящее время он не очень популярен и не используется.
    
    OAuth2 не указывает, как шифровать сообщение, он ожидает, что ваше приложение будет обслуживаться по протоколу HTTPS.
    
    /// tip | "Подсказка"
    
    В разделе **Развертывание** вы увидите [как настроить протокол HTTPS бесплатно, используя Traefik и Let's Encrypt.](https://fastapi.tiangolo.com/ru/deployment/https/)
    
    ///
    
    ## OpenID Connect
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

        }
    }
    ```
    
    /// tip
    
    Notice the auto-generated server with a `url` value of `/api/v1`, taken from the `root_path`.
    
    ///
    
    In the docs UI at <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs</a> it would look like:
    
    <img src="/img/tutorial/behind-a-proxy/image03.png">
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:49:49 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/custom-response.md

    {!../../docs_src/custom_response/tutorial001b.py!}
    ```
    
    /// info
    
    🔢 `response_class` 🔜 ⚙️ 🔬 "📻 🆎" 📨.
    
    👉 💼, 🇺🇸🔍 🎚 `Content-Type` 🔜 ⚒ `application/json`.
    
     &amp; ⚫️ 🔜 📄 ✅ 🗄.
    
    ///
    
    /// tip
    
    `ORJSONResponse` ⏳ 🕴 💪 FastAPI, 🚫 💃.
    
    ///
    
    ## 🕸 📨
    
    📨 📨 ⏮️ 🕸 🔗 ⚪️➡️ **FastAPI**, ⚙️ `HTMLResponse`.
    
    * 🗄 `HTMLResponse`.
    * 🚶‍♀️ `HTMLResponse` 🔢 `response_class` 👆 *➡ 🛠️ 👨‍🎨*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/index.md

    It is not very popular or used nowadays.
    
    OAuth2 doesn't specify how to encrypt the communication, it expects you to have your application served with HTTPS.
    
    /// tip
    
    In the section about **deployment** you will see how to set up HTTPS for free, using Traefik and Let's Encrypt.
    
    ///
    
    ## OpenID Connect
    
    OpenID Connect is another specification, based on **OAuth2**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/middleware.md

    * You can then further modify the `response` before returning it.
    
    ```Python hl_lines="8-9  11  14"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip
    
    Keep in mind that custom proprietary headers can be added <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">using the 'X-' prefix</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params.md

    ```
    
    /// info
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerations (or enums) are available in Python</a> since version 3.4.
    
    ///
    
    /// tip
    
    If you are wondering, "AlexNet", "ResNet", and "LeNet" are just names of Machine Learning <abbr title="Technically, Deep Learning model architectures">models</abbr>.
    
    ///
    
    ### Declare a *path parameter*
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/global-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="15"
    {!> ../../docs_src/dependencies/tutorial012.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. internal/http/check_port_linux.go

    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    		Control: func(network, address string, c syscall.RawConn) error {
    			c.Control(func(fdPtr uintptr) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    In this case, the HTTP header `Content-Type` will be set to `application/json`.
    
    And it will be documented as such in OpenAPI.
    
    ///
    
    /// tip
    
    The `ORJSONResponse` is only available in FastAPI, not in Starlette.
    
    ///
    
    ## HTML Response
    
    To return a response with HTML directly from **FastAPI**, use `HTMLResponse`.
    
    * Import `HTMLResponse`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/dependencies/global-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать 'Annotated' версию, если это возможно.
    
    ///
    
    ```Python hl_lines="15"
    {!> ../../docs_src/dependencies/tutorial012.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top