add accept header */* for agent check

This commit is contained in:
Stefan Engstrom 2016-02-19 10:31:00 -06:00
parent 05bc9149a5
commit 525cb0abc1
1 changed files with 1 additions and 0 deletions

View File

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