add accept header */* for agent check
This commit is contained in:
parent
425a439187
commit
b20278cadc
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue