func (c *Client) doRequest(host *URI, method, path string, headers map[string]string, reader io.Reader) (*http.Response, error) {
	req, err := makeRequest(host, method, path, headers, reader)
	if err != nil {
		return nil, errors.Wrap(err, "building request")
	}
	return c.client.Do(req)
}
func (c *Client) doRequest(host *URI, method, path string, headers map[string]string, reader io.Reader) (*http.Response, error) {
	req, err := makeRequest(host, method, path, headers, reader)
	if err != nil {
		return nil, errors.Wrap(err, "building request")
	}
	return c.client.Do(req)
}
func ( c * Client ) doRequest ( host * URI , method , path string , headers map [ string ] string , reader io . Reader ) ( * http . Response , error ) { req , err := makeRequest ( host , method , path , headers , reader ) if err != nil { return nil , errors . Wrap ( err , " " ) } return c . client . Do ( req ) }
// doRequest creates and performs an http request.
doRequest creates and performs an http request .