diff --git a/command/agent/check.go b/command/agent/check.go index c3210f7b64f2..87de9681062f 100644 --- a/command/agent/check.go +++ b/command/agent/check.go @@ -391,6 +391,7 @@ func (c *CheckHTTP) check() { } req.Header.Set("User-Agent", HttpUserAgent) + req.Header.Set("Accept", "text/plain, text/*, */*") resp, err := c.httpClient.Do(req) if err != nil {