Check for header: Content-Disposition: attachment; On 14 April 2011 14:35, Andrius A <[email protected]> wrote:
> It looks like production GAE is sending different header "attachment". I > believe you should be able to overwrite that header. > > > On 14 April 2011 14:26, Matija <[email protected]> wrote: > >> Has anyone noticed strange behavior with displaying pdf files in Chrome >> PDF viewer plugin that are located on GAE ? >> >> On local development GAE it works as it used to be (I get pdf in new tab), >> but on production GAE it starts to download pdf file instead to open it in >> new tab. I have checked and static pdf files request has correct >> application/pdf mime type. Problem is not related to static files, because >> we have also some dynamic requests that return pdf files and there is also >> same problem. >> >> This worked perfectly few weeks/months before, but now it doesn't. I am >> not sure when this behavior started. >> >> Any info ? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" 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/google-appengine?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
