[Icecast] GET vs HEAD Response code

Alejandro cdgraff at gmail.com
Sat Mar 14 20:33:46 PDT 2015


Hi all,

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
Content-Type: text/html

curl -X HEAD -I http://icecast/stream
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type
Access-Control-Allow-Methods: GET, OPTIONS, HEAD, STATS

Thanks!
Alejandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast/attachments/20150315/876aa1dd/attachment.htm 


More information about the Icecast mailing list