Great! Thanks for the helpful replies! I'll have to decide whether to save it to a file in the static directory or not though.
Sincerely, Silas Snider On 7/17/06, Gary Doades <[EMAIL PROTECTED]> wrote: > > On Monday 17 July 2006 19:22, jerojasro wrote: > > check this post > > http://groups.google.com/group/turbogears/browse_thread/thread/2535a782b1d1 > >63a7/d87a4bf9ad3ae26e?lnk=arm#d87a4bf9ad3ae26e > > > > besides, in the wiki are some hints for handling of files > > > > as far as I remember, you can decide what type of content to return > > passing a proper argument to the @expose decorator > > > > An often used method for this is to generate the PDF as a file and then > redirect the web page to that file. So generate your PDF into a static folder > and redirect to that. The advantage of this also becomes apparent when using > Apache or Lighttpd as the front end to serve static content. > > > > -- -------------------------------------------------------------------------- Silas Snider is a proud member of the Association of Wikipedians Who Dislike Making Broad Judgements About the Worthiness of a General Category of Article, and Who Are In Favor of the Deletion of Some Particularly Bad Articles, but That Doesn't Mean They are Deletionist (AWWDMBJAWGCAWAIFDSPBATDMTD) , and the Harmonious Editing Club of Wikipedia. -------------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

