- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for Cookie1 (0.14 sec)
-
src/net/http/client_test.go
Redirect(w, r, "/", StatusFound) case "1": want = map[string][]string{ "Cookie1": {"OldValue1a", "OldValue1b"}, "Cookie3": {"OldValue3a", "OldValue3b"}, "Cookie4": {"OldValue4"}, "Cycle": {"1"}, } SetCookie(w, &Cookie{Name: "Cycle", Value: "2", Path: "/"})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/cookie.go
} } return cookies } // SetCookie adds a Set-Cookie header to the provided [ResponseWriter]'s headers. // The provided cookie must have a valid Name. Invalid cookies may be // silently dropped. func SetCookie(w ResponseWriter, cookie *Cookie) { if v := cookie.String(); v != "" { w.Header().Add("Set-Cookie", v) } } // String returns the serialization of the cookie for use in a [Cookie]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
docs/es/docs/tutorial/cookie-params.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 19:30:26 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
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) -
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) -
src/net/http/cookiejar/jar_test.go
now := tNow // Populate jar with cookies. setCookies := make([]*http.Cookie, len(test.setCookies)) for i, cs := range test.setCookies { cookies := (&http.Response{Header: http.Header{"Set-Cookie": {cs}}}).Cookies() if len(cookies) != 1 { panic(fmt.Sprintf("Wrong cookie line %q: %#v", cs, cookies)) } setCookies[i] = cookies[0] } jar.setCookies(mustParseURL(test.fromURL), setCookies, now)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 34K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/net/http/66008.md
The new [ParseCookie] function parses a Cookie header value and returns all the cookies which were set in it. Since the same cookie name can appear multiple times the returned Values can contain more than one value for a given key. The new [ParseSetCookie] function parses a Set-Cookie header value and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 17:43:50 UTC 2024 - 359 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/net/http/62490.md
The new [Cookie.Partitioned] field identifies cookies with the Partitioned attribute....
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 85 bytes - Viewed (0) -
fastapi/security/api_key.py
class APIKeyCookie(APIKeyBase): """ API key authentication using a cookie. This defines the name of the cookie that should be provided in the request with the API key and integrates that into the OpenAPI documentation. It extracts the key value sent in the cookie automatically and provides it as the dependency result. But it doesn't define how to set that cookie. ## Usage
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 23 22:29:18 UTC 2024 - 9.1K bytes - Viewed (0)