(word: string)
| 29 | // characters per RFC 3986, no whitespace/comma/quotes. |
| 30 | const isUrlish = (word: string): boolean => /^[A-Za-z][A-Za-z0-9+.-]*:\/\/[^\s,"]+$/.test(word); |
| 31 | const isToken68 = (word: string): boolean => [...word].every((ch) => TOKEN68_RE.test(ch)); |
| 32 | |
| 33 | /** Parse authentication challenges without joining parameters across schemes. */ |
| 34 | export const parseChallenges = (header: string): readonly Challenge[] | null => { |