I think we may need to provide an API for thing but for now you can
do:

def dowload2():
     r=response.download(request,db)
     del response.headers['Content-Disposition']
     return r

and call

http://..../download2/tmpfilename.html

On Oct 19, 4:36 pm, Johann Spies <[email protected]> wrote:
> I am busy developing my first web2py website for system administrators
> of our team.  Inter alia it wil  be a place where documentation can be
> found.
>
> When uploading documents like images and pdf's as files there is no
> problem.  But how do you handle html-uploads in such a way that the
> file does not have to be downloaded again to be viewed?
>
> Is it a solution to save them in /static?  Are there examples of code
> doing this?
>
> Regards
> Johann
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to