Was trying to use this to check services behind Traefik, and discovered that there wasn't a way to pass a Host header so just trying to contribute this back. Wanted to keep parity with how Host is special on http.Request so decided to not opt for parsing the header map for any Host header.
Was trying to use this to check services behind
Traefik
, and discovered that there wasn't a way to pass aHost
header so just trying to contribute this back. Wanted to keep parity with howHost
is special onhttp.Request
so decided to not opt for parsing the header map for anyHost
header.