Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 332 for cookiev3 (0.19 sec)

  1. docs/en/mkdocs.yml

        - advanced/additional-status-codes.md
        - advanced/response-directly.md
        - advanced/custom-response.md
        - advanced/additional-responses.md
        - advanced/response-cookies.md
        - advanced/response-headers.md
        - advanced/response-change-status-code.md
        - advanced/advanced-dependencies.md
        - Advanced Security:
          - advanced/security/index.md
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/response-change-status-code.md

    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    ```Python hl_lines="1  9  12"
    {!../../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取状态码(也包括cookies和头部),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 10 20:30:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. docs_src/websockets/tutorial002.py

    from typing import Union
    
    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 16:10:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HttpHeaders.java

       */
      public static final String SERVICE_WORKER_ALLOWED = "Service-Worker-Allowed";
      /** The HTTP {@code Set-Cookie} header field name. */
      public static final String SET_COOKIE = "Set-Cookie";
      /** The HTTP {@code Set-Cookie2} header field name. */
      public static final String SET_COOKIE2 = "Set-Cookie2";
    
      /**
       * The HTTP <a href="http://goo.gl/Dxx19N">{@code SourceMap}</a> header field name.
       *
       * @since 27.1
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  5. docs/zh/docs/features.md

    * HTTP 基本认证。
    * **OAuth2** (也使用 **JWT tokens**)。在 [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}查看教程。
    * API 密钥,在:
        * 请求头。
        * 查询参数。
        * Cookies, 等等。
    
    加上来自 Starlette(包括 **session cookie**)的所有安全特性。
    
    所有的这些都是可复用的工具和组件,可以轻松与你的系统,数据仓库,关系型以及 NoSQL 数据库等等集成。
    
    
    
    ### 依赖注入
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/net/internal/socktest/switch_windows.go

    }
    
    // addLocked returns a new Status without locking.
    // sw.smu must be held before call.
    func (sw *Switch) addLocked(s syscall.Handle, family, sotype, proto int) *Status {
    	sw.once.Do(sw.init)
    	so := Status{Cookie: cookie(family, sotype, proto)}
    	sw.sotab[s] = so
    	return &so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 13 21:38:34 UTC 2015
    - 730 bytes
    - Viewed (0)
  7. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 397 bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/README.md

    the potential to leak sensitive information such as "Authorization" or "Cookie" headers and the
    contents of request and response bodies. This data should only be logged in a controlled way or in
    a non-production environment.
    
    You can redact headers that may contain sensitive information by calling `redactHeader()`.
    ```java
    logging.redactHeader("Authorization");
    logging.redactHeader("Cookie");
    ```
    
    Download
    --------
    
    ```kotlin
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/testdata/http/extended-custom-http-provider-out2.yaml

        authorizationResponse:
          allowedClientHeaders:
            patterns:
            - exact: Set-cookie
              ignoreCase: true
            - ignoreCase: true
              prefix: x-prefix-
            - ignoreCase: true
              suffix: -suffix
          allowedClientHeadersOnSuccess:
            patterns:
            - exact: Set-cookie
              ignoreCase: true
            - ignoreCase: true
              prefix: x-prefix-
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. docs/de/docs/reference/response.md

    # `Response`-Klasse
    
    Sie können einen Parameter in einer *Pfadoperation-Funktion* oder einer Abhängigkeit als `Response` deklarieren und dann Daten für die Response wie Header oder Cookies festlegen.
    
    Diese können Sie auch direkt verwenden, um eine Instanz davon zu erstellen und diese von Ihren *Pfadoperationen* zurückzugeben.
    
    Sie können sie direkt von `fastapi` importieren:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:16:03 UTC 2024
    - 451 bytes
    - Viewed (0)
Back to top