If you use @turbogears.expose() with no arguments you can output raw strings by returning them.
If you want to return a binary file, take a look at the cherrypy wiki[1]. Lee [1] http://www.cherrypy.org/wiki/FileDownload On 12/14/05, Zarrabeitia <[EMAIL PROTECTED]> wrote: > > > I'm very new with turbogears, and I'm trying to port a few CGIs. > So far, i haven't hit any mayor problem, however, I need now some of my > exported methods to have a *very primitive* behavior: I need to return > the raw http response, and if possible, parse the raw http request. > > That means, no template processing, nothing. I need to send a binary > file generated dinamically. How can I do that? > > Regards, > Luis. > >

