(res)
| 405 | * @returns |
| 406 | */ |
| 407 | const getExtFromMime = (res) => { |
| 408 | const header = res.headers.get('content-type') |
| 409 | return header ? header.split('/')[1] : null |
| 410 | } |
| 411 | |
| 412 | /** |
| 413 | * Function to determine the filename from the response |
no test coverage detected
searching dependent graphs…