|
|
@ -103,7 +103,7 @@ func (c *Client) CallService(path, method, action string, dest interface{}, read
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// callHTTP is a low-level primative for executing HTTP operations.
|
|
|
|
// callHTTP is a low-level primitive for executing HTTP operations.
|
|
|
|
func (c *Client) callHTTP(path, method, action string, reader io.ReadCloser) (string, error) {
|
|
|
|
func (c *Client) callHTTP(path, method, action string, reader io.ReadCloser) (string, error) {
|
|
|
|
request, err := http.NewRequest(method, path, reader)
|
|
|
|
request, err := http.NewRequest(method, path, reader)
|
|
|
|
|
|
|
|
|
|
|
|