mirror of
https://github.com/status-im/consul.git
synced 2025-02-24 03:18:26 +00:00
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…
x
Reference in New Issue
Block a user