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
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
Ack... I'm an idiot... Thanks Richard -- You're the Man!
--
http://mail.python.org/mailman/listinfo/python-list
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
"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