Re: Dynamic files
Ernesto Adorio <[email protected]>
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
> From: David Binger <[email protected]> > > How do you serve a 'dynamic' file where the filename > > is not known at application start? I have tried > > One way would be to use a custom _q_traverse(), > as I think you suggested. > > Another way, perhaps easier, is to use the StaticDirectory > class that is in quixote.util. The interesting problem I encountered was how to serve an output file directly which is the expected result of a successful computation or service without requiring the user to click on its filename on a link or a directory listing on a later web page. Ernie