(route, opts = { followRedirects: false })
| 50 | } |
| 51 | |
| 52 | export async function head(route, opts = { followRedirects: false }) { |
| 53 | const res = await get(route, { method: 'head', followRedirects: opts.followRedirects }) |
| 54 | return res |
| 55 | } |
| 56 | |
| 57 | export function post(route, opts) { |
| 58 | return get(route, Object.assign({}, opts, { method: 'post' })) |
no test coverage detected