update breaks
This commit is contained in:
parent
b8105ba4d1
commit
d0adceec59
2
http.go
2
http.go
@ -87,7 +87,7 @@ func (h *httpClient) call(ctx context.Context, address string, req client.Reques
|
|||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "http",
|
Scheme: "http",
|
||||||
Host: address,
|
Host: address,
|
||||||
Path: req.Method(),
|
Path: req.Endpoint(),
|
||||||
},
|
},
|
||||||
Header: header,
|
Header: header,
|
||||||
Body: buf,
|
Body: buf,
|
||||||
|
@ -40,7 +40,7 @@ func (h *httpRequest) Service() string {
|
|||||||
return h.service
|
return h.service
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *httpRequest) Method() string {
|
func (h *httpRequest) Endpoint() string {
|
||||||
return h.method
|
return h.method
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ func (h *httpStream) Send(msg interface{}) error {
|
|||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "http",
|
Scheme: "http",
|
||||||
Host: h.address,
|
Host: h.address,
|
||||||
Path: h.request.Method(),
|
Path: h.request.Endpoint(),
|
||||||
},
|
},
|
||||||
Header: h.header,
|
Header: h.header,
|
||||||
Body: buf,
|
Body: buf,
|
||||||
|
Loading…
Reference in New Issue
Block a user