2ed0d2d1c9
When a downstream server such as a proxy or loadbalancer between influxdb and the client produces an error, the client currently does not make this very obvious. This change introduces checks on both the content type and the influx version header to identify whether a request was served by influxdb itself and returns a more appropriate error in the cases where it can be determined a downstream issue is at play. |
||
---|---|---|
.. | ||
client.go | ||
client_test.go | ||
example_test.go | ||
udp.go |