Re: cgi and headers

2007-08-12 Thread Steve Holden
kalin mintchev wrote: > hi there... > > i'm starting to work with python cgi scripts using ajax. > one problem i have is that the cgi module doesn;t do (apparently) anything > without the -- print "Content-type: text/html\n" -- line in the script. > > the issue is that the output of the script ha

Re: cgi and headers

2007-08-12 Thread kalin mintchev
nevermind... i'm not sure why the xml header didn;t work before and now it does... thanks > > hi there... > > i'm starting to work with python cgi scripts using ajax. > one problem i have is that the cgi module doesn;t do (apparently) anything > without the -- print "Content-type: text/html

cgi and headers

2007-08-12 Thread kalin mintchev
hi there... i'm starting to work with python cgi scripts using ajax. one problem i have is that the cgi module doesn;t do (apparently) anything without the -- print "Content-type: text/html\n" -- line in the script. the issue is that the output of the script has to be an xml file and not an html