Re: [web2py] Re: Streaming pdf in a browser

2020-09-28 Thread Laurent Chambon
Thank you for your email, it does not work for me, coud you detail the use please Le ven. 25 sept. 2020 à 11:30, Alex Beskopilny a écrit : > only pdf to browser - inline > > def doc2user(): > import os > prn_id = request.args(0,cast=int) > task = db.zurina(prn_id) or error() > q

Re: [web2py] Re: Streaming pdf in a browser

2020-09-25 Thread Laurent Chambon
i have tried, no success Le jeu. 24 sept. 2020 à 19:01, agent tresdev a écrit : > You could show the pdf in a frame o open it a new tab (depends of the use > case) > > On Thursday, September 24, 2020 at 11:13:53 AM UTC-5 lcham...@gmail.com > wrote: > >> Thank you >> note my controller has to ret

Re: [web2py] Re: Streaming pdf in a browser

2020-09-24 Thread agent tresdev
You could show the pdf in a frame o open it a new tab (depends of the use case) On Thursday, September 24, 2020 at 11:13:53 AM UTC-5 lcham...@gmail.com wrote: > Thank you > note my controller has to return several data too > the page html displayed by this controllers displays pics , link to pd

Re: [web2py] Re: Streaming pdf in a browser

2020-09-24 Thread Laurent Chambon
Thank you note my controller has to return several data too the page html displayed by this controllers displays pics , link to pdf ... How can i do ? thank you Le jeu. 24 sept. 2020 à 17:10, Clemens a écrit : > Have a try! > > response.title = 'Your Document Title' >response.headers