Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for profiles (0.18 sec)

  1. docs/en/docs/advanced/response-cookies.md

        **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
        And as the `Response` can be used frequently to set headers and cookies, **FastAPI** also provides it at `fastapi.Response`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. fastapi/security/api_key.py

        This defines the name of the query parameter that should be provided in the request
        with the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/index.md

    To **deploy** an application means to perform the necessary steps to make it **available to the users**.
    
    For a **web API**, it normally involves putting it in a **remote machine**, with a **server program** that provides good performance, stability, etc, so that your **users** can **access** the application efficiently and without interruptions or problems.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
        **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `Request`.
    
    ## Override the default exception handlers
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/templates.md

    !!! note "Technical Details"
        You could also use `from starlette.templating import Jinja2Templates`.
    
        **FastAPI** provides the same `starlette.templating` as `fastapi.templating` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `Request` and `StaticFiles`.
    
    ## Writing templates
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 22:25:37 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/templates.md

    ## 安装依赖项
    
    安装 `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    如需使用静态文件,还要安装 `aiofiles`:
    
    <div class="termy">
    
    ```console
    $ pip install aiofiles
    
    ---> 100%
    ```
    
    </div>
    
    ## 使用 `Jinja2Templates`
    
    * 导入 `Jinja2Templates`
    * 创建可复用的 `templates` 对象
    * 在返回模板的*路径操作*中声明 `Request` 参数
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:45:16 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/header-params.md

    === "Python 3.8+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/header_params/tutorial002.py!}
        ```
    
    !!! warning "Aviso"
        Antes de definir `convert_underscores` como `False`, lembre-se de que alguns proxies e servidores HTTP não permitem o uso de cabeçalhos com sublinhados.
    
    ## Cabeçalhos duplicados
    
    É possível receber cabeçalhos duplicados. Isso significa, o mesmo cabeçalho com vários valores.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/header-params.md

        ```Python hl_lines="10"
        {!> ../../../docs_src/header_params/tutorial002.py!}
        ```
    
    !!! warning
        Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores.
    
    ## Duplicate headers
    
    It is possible to receive duplicate headers. That means, the same header with multiple values.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/custom-docs-ui-assets.md

    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 May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. docs/fa/docs/index.md

    استفاده شده توسط Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>HTTPX</code></a> - در صورتی که می‌خواهید از `TestClient` استفاده کنید.
    * <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - در صورتی که می‌خواهید از `FileResponse` و `StaticFiles` استفاده کنید.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 25.9K bytes
    - Viewed (0)
Back to top