VictoriaMetrics/lib/promauth
Aliaksandr Valialkin b577413d3b
lib/promauth: properly set Host header in requests to scrape targets.
The `Host` header must be set via net/http.Request.Host field, since net/http.Client
ignores this header if it is set via Request.Header.Set().

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5969
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5970
2024-03-17 20:22:54 +02:00
..
testdata basic OAuth2 support for remoteWrite and scrape targets (#1316) 2021-05-22 16:20:18 +03:00
config_test.go lib/promauth: follow-up for fca3b14b7b 2024-01-31 19:45:16 +02:00
config.go lib/promauth: properly set Host header in requests to scrape targets. 2024-03-17 20:22:54 +02:00