Thanks, Niphlod.

Now it's clear for me, but I cant use response.stream() because it receives 
a filename, not a content, as parameter. Should I save the content into a 
local file first? 

Fred

Em quinta-feira, 14 de novembro de 2013 14h21min37s UTC-3, Fred Guedes 
Pereira escreveu:
>
> Hello,
>
> Is there a way to return PDF content generated from a blob db field? 
>
> My table has a blob field whose content is PDF. I would like to create a 
> 'PDF page' from those bytes and return it.
>
> Thanks,
>
> Sorry for possible duplication.
>
> Fred
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to