HTTP HEAD calls by definition don't have a response body.
The documentation on https://pkg.go.dev/net/http for each of Client.Do, Client.Get, Client.Post and Client.PostForm states that the caller must close the response body. However, this is not mentioned for Head calls.
Similar to http.Head() we should also ignore http.Client.Head().
HTTP HEAD calls by definition don't have a response body.
The documentation on https://pkg.go.dev/net/http for each of Client.Do, Client.Get, Client.Post and Client.PostForm states that the caller must close the response body. However, this is not mentioned for Head calls.
Similar to http.Head() we should also ignore http.Client.Head().