print "Content-Type: text/html\n"
at the start of your script.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
See PyCon Talks from Atlanta 2010 http://pycon.blip.tv/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/
I think it may need to be "application/x-www-form-urlencoded", not
text/html. But otherwise, yes, missing Content-Type.
And the request method needs to be POST; I expect the code above will be
using GET unless told not to.
Cheers,
--
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
There's no trick to being a humorist when you have the whole government
working for you. - Will Rogers