#!/bin/bash
 
echo "Content-type: text/event-stream"
echo "Cache-Control: no-cache"
echo ""

while [ 1 ]
do
    echo "data: `date`"
    echo ""
    sleep 1
done
