GODT-1833: Updage go.mod/sum.

This commit is contained in:
Jakub
2022-08-31 09:48:31 +02:00
parent 3c6f80e520
commit 61c787b1c7
6 changed files with 192 additions and 358 deletions

View File

@ -61,7 +61,7 @@ func newManager(cfg Config) *manager {
m.proxyDialer = proxyDialer
m.rc.SetTransport(transport)
m.rc.SetHostURL(cfg.HostURL)
m.rc.SetBaseURL(cfg.HostURL)
m.rc.OnBeforeRequest(m.setHeaderValues)
// Any HTTP status code higher than 399 with JSON inside (and proper header)