Adds default set of accept headers for HTTP checks.

This commit is contained in:
James Phillips 2016-03-09 21:11:20 -08:00
parent b20278cadc
commit 30dba02fa3
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ func (c *CheckHTTP) check() {
}
req.Header.Set("User-Agent", HttpUserAgent)
req.Header.Set("Accept", "*/*")
req.Header.Set("Accept", "text/plain, text/*, */*")
resp, err := c.httpClient.Do(req)
if err != nil {