-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Steps to reproduce:
const manager = new RequestManager().use([Fetch]);
await manager.request({ 'some-url', method: 'HEAD' });After the response succeeds, the Fetch handler throws an error on this line, because HEAD requests have no body:
| const reader = response.body!.getReader(); |
Error message:
TypeError: can't access property "getReader", response.body is null
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels