Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 179 for Cookies (0.27 sec)

  1. docs/en/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    ## `examples` in JSON Schema - OpenAPI
    
    When using any of:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.
    
    ### `Body` with `examples`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
            default_factory: Union[Callable[[], Any], None] = _Unset,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-forms.md

    ```
    
    例如,OAuth2 规范的 "密码流" 模式规定要通过表单字段发送 `username` 和 `password`。
    
    <abbr title="specification">该规范</abbr>要求字段必须命名为 `username` 和 `password`,并通过表单字段发送,不能用 JSON。
    
    使用 `Form` 可以声明与 `Body` (及 `Query`、`Path`、`Cookie`)相同的元数据和验证。
    
    !!! info "说明"
    
        `Form` 是直接继承自 `Body` 的类。
    
    !!! tip "提示"
    
        声明表单体要显式使用 `Form` ,否则,FastAPI 会把该参数当作查询参数或请求体(JSON)参数。
    
    ## 关于 "表单字段"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-forms.md

    Com `Form` você pode declarar os mesmos metadados e validação que com `Body` (e `Query`, `Path`, `Cookie`).
    
    !!! info "Informação"
        `Form` é uma classe que herda diretamente de `Body`.
    
    !!! tip "Dica"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-forms.md

    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    !!! info
        `Form` is a class that inherits directly from `Body`.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/request-forms.md

    Вы можете настроить `Form` точно так же, как настраиваете и  `Body` ( `Query`, `Path`, `Cookie`), включая валидации, примеры, псевдонимы (например, `user-name` вместо `username`) и т.д.
    
    !!! info "Дополнительная информация"
        `Form` - это класс, который наследуется непосредственно от `Body`.
    
    !!! tip "Подсказка"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. fastapi/security/http.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, in an HTTP
                    Bearer token or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = HTTPBearerModel(bearerFormat=bearerFormat, description=description)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/request-forms.md

    `Form` sınıfıyla tanımlama yaparken `Body`, `Query`, `Path` ve `Cookie` sınıflarında kullandığınız aynı validasyon, örnekler, isimlendirme (örneğin `username` yerine `user-name` kullanımı) ve daha fazla konfigurasyonu kullanabilirsiniz.
    
    !!! info "Bilgi"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed May 08 19:10:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_config.properties

    #                                                     Cookie
    #                                                     ------
    # The default path of cookie (basically '/' if no context path)
    cookie.default.path = /
    
    # The default expire of cookie in seconds e.g. 31556926: one year, 86400: one day
    cookie.default.expire = 3600
    
    session.tracking.modes=cookie
    
    # ----------------------------------------------------------
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Apr 11 02:34:53 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/request-forms.md

    Mit `Form` haben Sie die gleichen Konfigurationsmöglichkeiten wie mit `Body` (und `Query`, `Path`, `Cookie`), inklusive Validierung, Beispielen, einem Alias (z. B. `user-name` statt `username`), usw.
    
    !!! info
        `Form` ist eine Klasse, die direkt von `Body` erbt.
    
    !!! tip "Tipp"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:06:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top