> 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
bluegray wrote:
> 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
"bluegray" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> print "Content-Type: application/xhtml+xml
That's your problem. You can't use that Mime type
because IE doesn't support XHMTL. No "appendix C"
hair splitting comments, please.
--
http://mail.python.org/mailman/listinfo
Yes, I have all the necessary shebang and imports. As I said, the
script works fine in Firefox. It's something specific to IE that is
the problem. The following is a test script that also causes IE to
download instead of displaying the page. It works fine elsewhere. I
also did some searching, and p
On Nov 1, 9:52 am, bluegray <[EMAIL PROTECTED]> wrote:
> 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 t
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