Lines Matching refs:HEAD
92 // running after Get, Head, Post, or Do return and will
109 // DefaultClient is the default Client and is used by Get, Head, and Post.
424 // HEAD requests. RFC 7231 lifts this restriction, but we still
427 if reqMethod != "GET" && reqMethod != "HEAD" {
485 // (or HEAD if the original request was HEAD), with no body.
755 // Head issues a HEAD to the specified URL. If the response is one of
756 // the following redirect codes, Head follows the redirect, up to a
765 // Head is a wrapper around DefaultClient.Head
766 func Head(url string) (resp *Response, err error) {
767 return DefaultClient.Head(url)
770 // Head issues a HEAD to the specified URL. If the response is one of the
771 // following redirect codes, Head follows the redirect after calling the
779 func (c *Client) Head(url string) (resp *Response, err error) {
780 req, err := NewRequest("HEAD", url, nil)