Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 332 for Cookie2 (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/ja/docs/tutorial/header-params.md

    # ヘッダーのパラメータ
    
    ヘッダーのパラメータは、`Query`や`Path`、`Cookie`のパラメータを定義するのと同じように定義できます。
    
    ## `Header`をインポート
    
    まず、`Header`をインポートします:
    
    ```Python hl_lines="3"
    {!../../../docs_src/header_params/tutorial001.py!}
    ```
    
    ## `Header`のパラメータの宣言
    
    次に、`Path`や`Query`、`Cookie`と同じ構造を用いてヘッダーのパラメータを宣言します。
    
    最初の値がデフォルト値で、追加の検証パラメータや注釈パラメータをすべて渡すことができます。
    
    ```Python hl_lines="9"
    {!../../../docs_src/header_params/tutorial001.py!}
    ```
    
    !!! note "技術詳細"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Oct 17 13:55:39 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util_test.go

    						Cookie: &httpv3.Cookie{
    							Path: "/",
    							Name: "test-cookie",
    						},
    					}),
    				},
    			},
    		},
    		{
    			name: "service with cookie path",
    			service: &model.Service{
    				Attributes: model.ServiceAttributes{
    					Labels: map[string]string{features.PersistentSessionLabel: "test-cookie:/path"},
    				},
    			},
    			expectedconfig: &statefulsession.StatefulSession{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top