- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isNotToken (0.12 sec)
-
src/net/http/cookie.go
return "", quoted, false } } return raw, quoted, true } func isCookieNameValid(raw string) bool { if raw == "" { return false } return strings.IndexFunc(raw, isNotToken) < 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
src/net/http/request.go
| extension-method extension-method = token token = 1*<any CHAR except CTLs or separators> */ return len(method) > 0 && strings.IndexFunc(method, isNotToken) == -1 } // NewRequest wraps [NewRequestWithContext] using [context.Background]. func NewRequest(method, url string, body io.Reader) (*Request, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0)