[Icecast] GET vs HEAD Response code
cdgraff at gmail.com
Sat Mar 14 20:33:46 PDT 2015
I'm setting HTTP monitoring app, to check the availability of my stream,
like pingdom or uptimerobot.
After test this, I see that always see 200 ok inclusive when my stream is
not online, and of course this tools don't send the alerts.
some reason to do this?
curl -X GET -I http://icecast/stream
HTTP/1.0 404 Not Available
curl -X HEAD -I http://icecast/stream
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type
Access-Control-Allow-Methods: GET, OPTIONS, HEAD, STATS
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast