Home | History | Annotate | Download | only in http

Lines Matching refs:Do

92 	// running after Get, Head, Post, or Do return and will
99 // to Client.Do may still set Request.Cancel; both will
136 // but depending on the implementation may do so in a separate
158 // do without:
308 // Do nothing. The net/http package's transports
317 stopTimer = func() { once.Do(func() { close(stopTimerCh) }) }
368 // DefaultClient.Do.
390 // To make a request with custom headers, use NewRequest and Client.Do.
396 return c.Do(req)
460 // Do sends an HTTP request and returns an HTTP response, following
482 // Generally Get, Post, or PostForm will be used instead of Do.
493 func (c *Client) Do(req *Request) (*Response, error) {
572 // If they really want to override, they can do it in
661 // Since cookies already set in the request header do not contain
717 // To set custom headers, use NewRequest and DefaultClient.Do.
719 // See the Client.Do method documentation for details on how redirects
732 // To set custom headers, use NewRequest and Client.Do.
734 // See the Client.Do method documentation for details on how redirects
742 return c.Do(req)
749 // To set other headers, use NewRequest and DefaultClient.Do.
756 // See the Client.Do method documentation for details on how redirects
766 // To set other headers, use NewRequest and Client.Do.
771 // See the Client.Do method documentation for details on how redirects
806 return c.Do(req)
877 // Do it without allocating.