Re: serving html from a python script in IE

2007-11-01 Thread bluegray
> If you take out the space between text/html and ; it works just fine. > > (In other words, there is no mime-type "text/html ") Thanks! That did it. What a difference a space makes ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: serving html from a python script in IE

2007-11-01 Thread bluegray
org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> An XHTML 1.0 Strict standard template Your HTML content here ''' [EMAIL PROTECTED] wrote: > On Nov 1, 9:52 am, blue

serving html from a python script in IE

2007-11-01 Thread bluegray
I'm writing a script that outputs html. It works fine in Firefox, however, IE wants to download the file instead of displaying the output. I keep getting the file download dialog instead of the html page. I am doing something like this: print 'Content-Type: text/html ; charset=utf-8\nCache-Contro