HEAD instead of GET

This commit is contained in:
Shlomi Noach 2017-03-26 13:12:56 +03:00
parent 23ce390d69
commit c413d508cc

View File

@ -226,7 +226,7 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
if url == "" {
return true, nil
}
resp, err := http.Get(url)
resp, err := http.Head(url)
if err != nil {
return false, err
}