Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 332 for Cookie2 (0.12 sec)

  1. docs/ja/docs/tutorial/cookie-params.md

    ## `Cookie`をインポート
    
    まず、`Cookie`をインポートします:
    
    ```Python hl_lines="3"
    {!../../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ## `Cookie`のパラメータを宣言
    
    次に、`Path`や`Query`と同じ構造を使ってクッキーのパラメータを宣言します。
    
    最初の値がデフォルト値で、追加の検証パラメータや注釈パラメータをすべて渡すことができます:
    
    ```Python hl_lines="9"
    {!../../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    !!! note "技術詳細"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 09 18:19:26 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/cookie-params.md

        ```
    
    !!! note "📡 ℹ"
        `Cookie` "👭" 🎓 `Path` & `Query`. ⚫️ 😖 ⚪️➡️ 🎏 ⚠ `Param` 🎓.
    
        ✋️ 💭 👈 🕐❔ 👆 🗄 `Query`, `Path`, `Cookie` & 🎏 ⚪️➡️ `fastapi`, 👈 🤙 🔢 👈 📨 🎁 🎓.
    
    !!! info
        📣 🍪, 👆 💪 ⚙️ `Cookie`, ↩️ ⏪ 🔢 🔜 🔬 🔢 🔢.
    
    ## 🌃
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/cookie-params.md

    # Çerez (Cookie) Parametreleri
    
    `Query` (Sorgu) ve `Path` (Yol) parametrelerini tanımladığınız şekilde çerez parametreleri tanımlayabilirsiniz.
    
    ## Import `Cookie`
    
    Öncelikle, `Cookie`'yi projenize dahil edin:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 14 19:35:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/cookie-params.md

        {!> ../../../docs_src/cookie_params/tutorial001.py!}
        ```
    
    !!! note "技术细节"
    
        `Cookie` 、`Path` 、`Query` 是**兄弟类**,都继承自共用的 `Param` 类。
    
        注意,从 `fastapi` 导入的 `Query`、`Path`、`Cookie` 等对象,实际上是返回特殊类的函数。
    
    !!! info "说明"
    
        必须使用 `Cookie` 声明 cookie 参数,否则该参数会被解释为查询参数。
    
    ## 小结
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:43:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/cookie-params.md

        ```
    
    !!! note "기술 세부사항"
        `Cookie`는 `Path` 및 `Query`의 "자매"클래스입니다. 이 역시 동일한 공통 `Param` 클래스를 상속합니다.
    
        `Query`, `Path`, `Cookie` 그리고 다른 것들은 `fastapi`에서 임포트 할 때, 실제로는 특별한 클래스를 반환하는 함수임을 기억하세요.
    
    !!! info "정보"
        쿠키를 선언하기 위해서는 `Cookie`를 사용해야 합니다. 그렇지 않으면 해당 매개변수를 쿼리 매개변수로 해석하기 때문입니다.
    
    ## 요약
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Feb 09 10:34:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt

      private val requestCookies: Deque<List<Cookie>> = ArrayDeque()
      private val responseCookies: Deque<List<Cookie>> = ArrayDeque()
    
      fun enqueueRequestCookies(vararg cookies: Cookie) {
        requestCookies.add(cookies.toList())
      }
    
      fun takeResponseCookies(): List<Cookie> {
        return responseCookies.removeFirst()
      }
    
      fun assertResponseCookies(vararg cookies: String?) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

       * cookies.
       */
      fun saveFromResponse(
        url: HttpUrl,
        cookies: List<Cookie>,
      )
    
      /**
       * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly
       * empty list of cookies for the network request.
       *
       * Simple implementations will return the accepted cookies that have not yet expired and that
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. releasenotes/notes/jwt-from-cookies.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    issue:
      - 47847
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 18:37:25 UTC 2023
    - 140 bytes
    - Viewed (0)
  9. src/net/http/cookiejar/jar.go

    }
    
    // Cookies implements the Cookies method of the [http.CookieJar] interface.
    //
    // It returns an empty slice if the URL's scheme is not HTTP or HTTPS.
    func (j *Jar) Cookies(u *url.URL) (cookies []*http.Cookie) {
    	return j.cookies(u, time.Now())
    }
    
    // cookies is like Cookies but takes the current time as a parameter.
    func (j *Jar) cookies(u *url.URL, now time.Time) (cookies []*http.Cookie) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. src/net/http/cookie_test.go

    			cookies: []*Cookie{{Name: "Cookie-1", Value: "v$1"}},
    		},
    		{
    			line:    "Cookie-1=v$1;c2=v2",
    			cookies: []*Cookie{{Name: "Cookie-1", Value: "v$1"}, {Name: "c2", Value: "v2"}},
    		},
    		{
    			line:    `Cookie-1="v$1";c2="v2"`,
    			cookies: []*Cookie{{Name: "Cookie-1", Value: "v$1", Quoted: true}, {Name: "c2", Value: "v2", Quoted: true}},
    		},
    		{
    			line:    "k1=",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top