Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for aspects (0.2 sec)

  1. docs/en/docs/how-to/custom-docs-ui-assets.md

    # Custom Docs UI Static Assets (Self-Hosting)
    
    The API docs use **Swagger UI** and **ReDoc**, and each of those need some JavaScript and CSS files.
    
    By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

    ## Technical Details
    
    Just a technical detail for the curious nerds. πŸ€“
    
    Underneath, in the ASGI technical specification, this is part of the <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Lifespan Protocol</a>, and it defines events called `startup` and `shutdown`.
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. fastapi/openapi/docs.py

        Read more about it in the
        [FastAPI docs for Configure Swagger UI](https://fastapi.tiangolo.com/how-to/configure-swagger-ui/)
        and the [FastAPI docs for Custom Docs UI Static Assets (Self-Hosting)](https://fastapi.tiangolo.com/how-to/custom-docs-ui-assets/).
        """
        current_swagger_ui_parameters = swagger_ui_default_parameters.copy()
        if swagger_ui_parameters:
            current_swagger_ui_parameters.update(swagger_ui_parameters)
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. fastapi/applications.py

                str,
                Doc(
                    """
                    A path prefix handled by a proxy that is not seen by the application
                    but is seen by external clients, which affects things like Swagger UI.
    
                    Read more about it at the
                    [FastAPI docs for Behind a Proxy](https://fastapi.tiangolo.com/advanced/behind-a-proxy/).
    
                    **Example**
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/handling-errors.md

    Das ist vergleichbar mit den HTTP-Statuscodes im Bereich 200 (von 200 bis 299). Diese β€ž200β€œer Statuscodes bedeuten, dass der Request in einem bestimmten Aspekt ein β€žSuccessβ€œ (β€žErfolgβ€œ) war.
    
    Die Statuscodes im 400er-Bereich bedeuten hingegen, dass es einen Fehler gab.
    
    Erinnern Sie sich an all diese **404 Not Found** Fehler (und Witze)?
    
    ## `HTTPException` verwenden
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. 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
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. fastapi/_compat.py

        ) -> Dict[str, Any]:
            override_mode: Union[Literal["validation"], None] = (
                None if separate_input_output_schemas else "validation"
            )
            # This expects that GenerateJsonSchema was already used to generate the definitions
            json_schema = field_mapping[(field, override_mode or field.mode)]
            if "$ref" not in json_schema:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. fastapi/routing.py

                bool,
                Doc(
                    """
                    To include (or not) all the *path operations* in this router in the
                    generated OpenAPI.
    
                    This affects the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/events.md

    πŸ”¨ πŸ‘ˆ πŸ‘½ πŸ”’ πŸ‘ˆ 🚫 πŸ’° βš› βš–οΈ πŸ”’ πŸ‘―β€β™‚οΈ πŸŒ… ⚠ πŸ‘† πŸ”œ πŸ’ͺ πŸͺ πŸ’² 🌐 πŸ”’ βš–οΈ 🎏 🎱.
    
    ↩️ πŸ‘ˆ, ⚫️ πŸ”œ πŸ‘ ↩️ βš™οΈ `lifespan` πŸ”¬ πŸ”›.
    
    ## πŸ“‘ β„Ή
    
    πŸ“‘ β„Ή 😟 πŸ€“. πŸ‘Ά
    
    πŸ”˜, πŸ”« πŸ“‘ πŸ”§, πŸ‘‰ πŸ• <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">πŸ”† πŸ› οΈ</a>, &amp; ⚫️ πŸ”¬ πŸŽ‰ πŸ€™ `startup` &amp; `shutdown`.
    
    ## 🎧 🈸
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top