mirror of https://github.com/status-im/consul.git
add accept header */* for agent check
This commit is contained in:
parent
05bc9149a5
commit
525cb0abc1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue