Wow great tool but didn't help here however still very useful tool thanks. After digging through some php forums that had similar issues I found that I need to have ...
response.headers["Cache-Control"] = "maxage=1" response.headers["Pragma"] = "public" and *poof* problem solved. I don't get it, safari, FF, and opera had no problem. IE 7 and 8 and it just wouldn't work. Paul On Apr 8, 5:41 pm, "Diez B. Roggisch" <[email protected]> wrote: > > I am using TG2 and trying to display a pdf document everything works > > fine run from paster. But when I run the app from apache2 then in IE > > only pdf documents don't display you get a blank IE window. Its wierd > > because again in paster everything just works all the time. In apache > > everything works all the time on FF. I am have getting twisted around > > the axle on this one. > > > �...@expose(content_type="application/pdf") > > �...@require(not_anonymous(msg='You must be logged in to visit that > > page.')) > > def > > my_pdfexport > > (self,rdir=None,otype=None,order=None,email=None,missingfile=None): > > * extra code removed* > > pdffile = open(newfile,'r') > > pdfdocument = pdffile.read() > > pdffile.close() > > return (pdfdocument) > > > If this double posted sorry about that ... > > My suggestion would be to use HTTP-Live-Headers for FireFox & see what > differs between apache-served and paster-served. > > Diez > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/turbogears?hl=en. -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

