yes that was already there, but it kept giving me that every-other problem

i know its the fact the web-browser wasn't passed the "content-type=..." on
the alternate reloads but as to why im lost

in the end i figure its best to just  ignore this and move to the more
beta-test dev stage which involves django, so hopefully that'll just erase
this weird error

and i know the script worked (ie: the content should be being piped to the
page) because the 2nd refresh (or first, alternately) would provide me with
the expected result (ie: a web page)

thanks tho =)

2008/3/17, Graham Dumpleton <[EMAIL PROTECTED]>:
>
> On Mar 18, 4:43 am, Sean Allen <[EMAIL PROTECTED]> wrote:
> > On Mar 17, 2008, at 10:55 AM, Michael Wieher wrote:
> >
> > > have simple webpage running
> >
> > > apache,mod_python
> >
> > > the error is binary....
> > > ...binary as in "every other" time I load the page, Firefox keeps
> > > telling me I'm downloading a python script, and asks to open it in
> > > WINE, which is really strange.
> >
> > > then, alternately, it loads the page just fine.  any clues as to why
> > > this is happening?
> > > --
> >
> > for anything like mod_perl,mod_pythonetc the first thing i do when i
> > get really weird errors
> > it move to having only one apache process for testing.
> >
> > might want to start there.
>
> In mod_python handler code:
>
>   req.content_type = 'text/plain'
>
> or otherwise.
>
> If you don't indicate what the response content type is web browsers
> will often try and work it out based on the extension in the URL.
>
> This is presuming you configured Apache correctly and your code is
> actually being executed and you aren't just serving up your code
> instead.
>
> Graham
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to