(headers)
| 32 | } |
| 33 | |
| 34 | function lowerCaseEntries (headers) { |
| 35 | return Object.fromEntries( |
| 36 | Object.entries(headers).map(([headerName, headerValue]) => { |
| 37 | return [headerName.toLocaleLowerCase(), headerValue] |
| 38 | }) |
| 39 | ) |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * @param {import('../../index').Headers|string[]|Record<string, string>} headers |
no test coverage detected