Hi Vincent, Why can it be wrong to serve binary content ? How do you do for instance when you want to dynamically generate an image or any kind of binary document based on the user's data ?
Cheers ! J On Mon, Mar 23, 2009 at 10:29 PM, Vincent Veselosky <veselo...@gmail.com> wrote: > > > On Sun, Mar 22, 2009 at 7:25 AM, Louis-David Mitterrand > <vindex+lists-mason-us...@apartia.org> wrote: >> >> Hi, >> >> To serve binary content from a component I am doing: > > > I know this isn't a direct answer to your question, but my advice is: don't > do that. There are a lot of things that can go wrong trying to serve binary > content that way, as you have found. In this situation, I prefer to allow > Apache to serve the binary content directly. If mason needs to be involved, > I have mason send a 302 redirect to the client so mason has a chance to do > something but the actual binary is served by the web server. > > -- > -Vince Veselosky > http://www.webquills.net > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users > > -- Jerome Eteve. Chat with me live at http://www.eteve.net jer...@eteve.net ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users