Skip to content

Commit

Permalink
Use HEAD request instead of GET
Browse files Browse the repository at this point in the history
  • Loading branch information
ApsOps committed Nov 5, 2014
1 parent 44d62de commit d12e063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_signal.py
Expand Up @@ -8,7 +8,7 @@
url = "http://" + group + ".encoder.timvideos.us:8081/loop.raw"
print "scanning " + group
try:
r = requests.get(url, stream=True)
r = requests.head(url, stream=True)
except:
print group + " is down..."
continue
Expand Down

0 comments on commit d12e063

Please sign in to comment.