(headers: Record<string, string>)
| 83 | * Checks if headers contain redirect headers (Location or Refresh) |
| 84 | */ |
| 85 | export function hasRedirectHeaders(headers: Record<string, string>): boolean { |
| 86 | const lowerCaseKeys = Object.keys(headers).map((k) => k.toLowerCase()) |
| 87 | return lowerCaseKeys.includes('location') || lowerCaseKeys.includes('refresh') |
| 88 | } |
no test coverage detected