Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 218 for Cookie2 (0.2 sec)

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

    # Cookie-Parameter
    
    So wie `Query`- und `Path`-Parameter können Sie auch <abbr title='Cookie – „Keks“: Mechanismus, der kurze Daten in Textform im Browser des Benutzers speichert und abfragt'>Cookie</abbr>-Parameter definieren.
    
    ## `Cookie` importieren
    
    Importieren Sie zuerst `Cookie`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:02:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/cookie-params.md

        ```
    
    !!! note "Detalles Técnicos"
        `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`.
    
        Pero recuerda que cuando importas `Query`, `Path`, `Cookie`  y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 19:30:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CookieTest.kt

            .build()
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("b")
        assertThat(cookie.expiresAt).isEqualTo(MAX_DATE)
        assertThat(cookie.domain).isEqualTo("example.com")
        assertThat(cookie.path).isEqualTo("/")
        assertThat(cookie.secure).isFalse()
        assertThat(cookie.httpOnly).isFalse()
        assertThat(cookie.persistent).isFalse()
        assertThat(cookie.hostOnly).isFalse()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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