From b20278cadc67f133f7cbe7ca66eca4774da64b29 Mon Sep 17 00:00:00 2001 From: Stefan Engstrom Date: Fri, 19 Feb 2016 10:31:00 -0600 Subject: [PATCH] add accept header */* for agent check --- command/agent/check.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/check.go b/command/agent/check.go index c3210f7b6..7255357be 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", "*/*") resp, err := c.httpClient.Do(req) if err != nil {