Home | History | Annotate | Download | only in http

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.
427 // HEAD requests. RFC 7231 lifts this restriction, but we still
430 if reqMethod != "GET" && reqMethod != "HEAD" {
488 // (or HEAD if the original request was HEAD), with no body.
777 // Head issues a HEAD to the specified URL. If the response is one of
778 // the following redirect codes, Head follows the redirect, up to a
787 // Head is a wrapper around DefaultClient.Head
788 func Head(url string) (resp *Response, err error) {
789 return DefaultClient.Head(url)
792 // Head issues a HEAD to the specified URL. If the response is one of the
793 // following redirect codes, Head follows the redirect after calling the
801 func (c *Client) Head(url string) (resp *Response, err error) {
802 req, err := NewRequest("HEAD", url, nil)