mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 15:10:59 +00:00
minor improvements and bugfixes
1) reduce request content-type mismatch ambiguity 2) remove duplicate wrapper function for withdraw permissions 3) update exchange_template tool to add missing/incorrect wrapper funcs
This commit is contained in:
@@ -310,8 +310,8 @@ func (r *Requester) DoRequest(req *http.Request, path string, body io.Reader, re
|
||||
reader = resp.Body
|
||||
|
||||
default:
|
||||
log.Warnf("encoding is not JSON for request response but receieved %v",
|
||||
resp.Header.Get("Content-Type"))
|
||||
log.Warnf("%s request response content type differs from JSON; received %v [path: %s]",
|
||||
r.Name, resp.Header.Get("Content-Type"), path)
|
||||
reader = resp.Body
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user