CGI scripts can deliver information other than text pages. For example, we can include an image tag of the form

    <img src="">
and the server will call upon the python script to deliver an image.

print "Content-type: image/jpg"
f = open("cute-snowman.jpg","rb")
s =
print s,


Maintained by John Loomis, updated Mon Feb 04 16:39:30 2008