- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isCookieNameValid (0.22 sec)
-
src/net/http/cookie.go
cookies := make([]*Cookie, 0, len(parts)) for _, s := range parts { s = textproto.TrimString(s) name, value, found := strings.Cut(s, "=") if !found { return nil, errEqualNotFoundInCookie } if !isCookieNameValid(name) { return nil, errInvalidCookieName } value, quoted, found := parseCookieValue(value, true) if !found { return nil, errInvalidCookieValue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0)