Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 332 for cookiev3 (0.18 sec)

  1. src/net/textproto/header_test.go

    	}
    }
    
    // Issue #34799 add a Header method to get multiple values []string, with canonicalized key
    func TestMIMEHeaderMultipleValues(t *testing.T) {
    	testHeader := MIMEHeader{
    		"Set-Cookie": {"cookie 1", "cookie 2"},
    	}
    	values := testHeader.Values("set-cookie")
    	n := len(values)
    	if n != 2 {
    		t.Errorf("count: %d; want 2", n)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 17 18:21:01 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  2. docs/pt/docs/features.md

    * Chaves de API em:
        * Headers.
        * parâmetros da Query.
        * Cookies etc.
    
    Além disso, todos os recursos de seguranças do Starlette (incluindo **cookies de sessão**).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs_src/cookie_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Cookie, FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: Annotated[str | None, Cookie()] = None):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 205 bytes
    - Viewed (0)
  4. docs_src/cookie_params/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Cookie, FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: Annotated[Union[str, None], Cookie()] = None):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 218 bytes
    - Viewed (0)
  5. docs_src/cookie_params/tutorial001_an.py

    from typing import Union
    
    from fastapi import Cookie, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: Annotated[Union[str, None], Cookie()] = None):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 247 bytes
    - Viewed (0)
  6. docs/ko/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!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/response-change-status-code.md

    In diesen Fällen können Sie einen `Response`-Parameter verwenden.
    
    ## Einen `Response`-Parameter verwenden
    
    Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren (wie Sie es auch für Cookies und Header tun können).
    
    Anschließend können Sie den `status_code` in diesem *vorübergehenden* Response-Objekt festlegen.
    
    ```Python hl_lines="1  9  12"
    {!../../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:58 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/http2/hpack/static_table.go

    		"content-language":            27,
    		"content-length":              28,
    		"content-location":            29,
    		"content-range":               30,
    		"content-type":                31,
    		"cookie":                      32,
    		"date":                        33,
    		"etag":                        34,
    		"expect":                      35,
    		"expires":                     36,
    		"from":                        37,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 22:32:44 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * followed by a newline character `\n`.
       *
       * Since OkHttp 5 this redacts these sensitive headers:
       *
       *  * `Authorization`
       *  * `Cookie`
       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
      override fun toString(): String = commonToString()
    
      fun toMultimap(): Map<String, List<String>> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial005_an.py

    from typing import Union
    
    from fastapi import Cookie, Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    def query_extractor(q: Union[str, None] = None):
        return q
    
    
    def query_or_cookie_extractor(
        q: Annotated[str, Depends(query_extractor)],
        last_query: Annotated[Union[str, None], Cookie()] = None,
    ):
        if not q:
            return last_query
        return q
    
    
    @app.get("/items/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 558 bytes
    - Viewed (0)
Back to top