Adds default set of accept headers for HTTP checks.
This commit is contained in:
parent
b20278cadc
commit
30dba02fa3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue