(url: URL)
| 924 | const bodyHeaderNames = ['content-length', 'content-encoding', 'content-language', 'content-location', 'content-type', 'transfer-encoding'] as const; |
| 925 | |
| 926 | function usesUnixSocket(url: URL): boolean { |
| 927 | return url.protocol === 'unix:' || getUnixSocketPath(url) !== undefined; |
| 928 | } |
| 929 | |
| 930 | function hasCredentialInUrl(url: string | URL | undefined, credential: 'username' | 'password'): boolean { |
| 931 | if (url instanceof URL) { |
no test coverage detected
searching dependent graphs…