Animated images as multipart PNGs

Server-Push is a neat way to generate animated images. You start with

HTTP/1.0 200 OK
Server: Apache/1.2b6
MIME-Version: 1.0
Content-Type: multipart/x-mixed-replace;boundary=EOM

--EOM
Content-Type: image/png
and then send the first PNG-image. At the end you ship
--EOM
Whenever you want to update the image you send again
Content-Type: image/png
then the image and then the boundary
--EOM



Oliver Kirchkamp 2013-04-15