Re: Python CGI not working in Firefox but does in IE

2006-02-22 Thread Kent Johnson
Harlin Seritt wrote: > Also, is there a redirect command somewhere within Python CGI that can > get this done instead as I would actually prefer to have the CGI code > execute this rather than depend on the HTML to do it. http://groups.google.com/group/comp.lang.python/msg/6e929fab0d414b2c shows

Re: Python CGI not working in Firefox but does in IE

2006-02-22 Thread Iain King
Iain King wrote: > Harlin Seritt wrote: > > I have this Python CGI script running: > > > > [CODE] > > print 'Content-type: text/plain\n' > > > > location = 'http://server1.com' > > > > page = ''' > > > > > > > > > > > > ''' > > > > print page > > [/CODE] > > > > It works fine and redirects pe

Re: Python CGI not working in Firefox but does in IE

2006-02-22 Thread Harlin Seritt
Ack... I'm an idiot... Thanks Richard -- You're the Man! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python CGI not working in Firefox but does in IE

2006-02-22 Thread Iain King
Harlin Seritt wrote: > I have this Python CGI script running: > > [CODE] > print 'Content-type: text/plain\n' > > location = 'http://server1.com' > > page = ''' > > > > > > ''' > > print page > [/CODE] > > It works fine and redirects perfectly when using Internet Explorer but > only shows thi

Re: Python CGI not working in Firefox but does in IE

2006-02-22 Thread Richard Brodie
"Harlin Seritt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [CODE] > print 'Content-type: text/plain\n' That's your problem. You've said text/plain when you meant text/html. -- http://mail.python.org/mailman/listinfo/python-list

Python CGI not working in Firefox but does in IE

2006-02-22 Thread Harlin Seritt
I have this Python CGI script running: [CODE] print 'Content-type: text/plain\n' location = 'http://server1.com' page = ''' ''' print page [/CODE] It works fine and redirects perfectly when using Internet Explorer but only shows this in a Firefox window: [OUTPUT] http://server1.com";>