Closed
Description
As a HEAD
call is a GET
call without response body, it's pretty useless without the resolveWithFullResponse
option, as you get an empty string all the time.
I personally would vote for having res.headers
as the default parameter passed to .head()
calls, or to at least set resolveWithFullResponse
to true
by default.
Or is it intended to preserve the same behavior in all convenience functions, even if it's nonsense to a particular function?
Metadata
Assignees
Labels
No labels
Activity