Lines Matching refs:Head
63 // running after Get, Head, Post, or Do return and will
70 // a request with Get, Head, Post, or Do. Client's default
75 // DefaultClient is the default Client and is used by Get, Head, and Post.
174 if req.Method == "GET" || req.Method == "HEAD" {
500 // Head issues a HEAD to the specified URL. If the response is one of
501 // the following redirect codes, Head follows the redirect, up to a
509 // Head is a wrapper around DefaultClient.Head
510 func Head(url string) (resp *Response, err error) {
511 return DefaultClient.Head(url)
514 // Head issues a HEAD to the specified URL. If the response is one of the
515 // following redirect codes, Head follows the redirect after calling the
522 func (c *Client) Head(url string) (resp *Response, err error) {
523 req, err := NewRequest("HEAD", url, nil)