On 12/26/08, Tino Wildenhain <t...@wildenhain.de> wrote: > > > print "Content-Type: text/html" >> print >> print """ >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " >> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> >> <head> >> </head> >> <body> >> Yeah >> </body> >> </html>""" >> > > this could be fine if called in CGI context.
Can you state clearly what "CGI context" means¿ Should I be importing a CGI module¿ I pulled this code from a page that was working. If it had an importation of something CGI, I believe I would have tested that with all the other things that were imported that I tested, but perhaps not. I am not at my home computer to test, and will not be back online for a week. I am not worried about Zope now, but the above code, yes. TIA, Victor
-- http://mail.python.org/mailman/listinfo/python-list