Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 218 for Cookie2 (0.17 sec)

  1. docs/vi/docs/features.md

    * API keys in:
        * Headers.
        * Các tham số trong query string.
        * Cookies, etc.
    
    Cộng với tất cả các tính năng bảo mật từ Starlette (bao gồm **session cookies**).
    
    Tất cả được xây dựng dưới dạng các công cụ và thành phần có thể tái sử dụng, dễ dàng tích hợp với hệ thống, kho lưu trữ dữ liệu, cơ sở dữ liệu quan hệ và NoSQL của bạn,...
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. fastapi/exceptions.py

        from typing import Annotated
    
        from fastapi import (
            Cookie,
            FastAPI,
            WebSocket,
            WebSocketException,
            status,
        )
    
        app = FastAPI()
    
        @app.websocket("/items/{item_id}/ws")
        async def websocket_endpoint(
            *,
            websocket: WebSocket,
            session: Annotated[str | None, Cookie()] = None,
            item_id: str,
        ):
            if session is None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. api/go1.23.txt

    pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net/http, func ParseCookie(string) ([]*Cookie, error) #66008
    pkg net/http, func ParseSetCookie(string) (*Cookie, error) #66008
    pkg net/http, method (*Request) CookiesNamed(string) []*Cookie #61472
    pkg net/http, type Cookie struct, Partitioned bool #62490
    pkg net/http, type Cookie struct, Quoted bool #46443
    pkg net/http, type Request struct, Pattern string #66405
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/net/http/request_test.go

    func TestRequestCookiesByName(t *testing.T) {
    	tests := []struct {
    		in     []*Cookie
    		filter string
    		want   []*Cookie
    	}{
    		{
    			in: []*Cookie{
    				{Name: "foo", Value: "foo-1"},
    				{Name: "bar", Value: "bar"},
    			},
    			filter: "foo",
    			want:   []*Cookie{{Name: "foo", Value: "foo-1"}},
    		},
    		{
    			in: []*Cookie{
    				{Name: "foo", Value: "foo-1"},
    				{Name: "foo", Value: "foo-2"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top