Just a quick reply. I'll have to look at that page tomorrow obviously missed it in my search. I found the tuples in the source code by grepping for "{template" after I sent the email and saw the {custom, Val} option, but figured that there must be another option that I was missing. As elrlangweb supports different web servers including those that support ewgi I thought that there might be a server independent manner in which to do things. Is such a thing planned?
As I said above just a quick reply hope it makes sense. Jeff. Michal Zajda wrote: > Hi Jeffm, > > Here is the link to controller return-tuples doc: > http://wiki.erlang-web.org/Eptic/ServerTuples. > > There is one called {custom, Val} and using it lets you return anything > accepted by the server (Val will go directly to HTTP server). > > However, once I migrated old system (written in yaws) to ErlangWeb, and there > was already yaws module for streaming, so I simply check authorization and > set a session on ErlangWeb side and then redirected to yaws module (to do it > you need also another appmod defined for this module). > > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Erlangweb-users mailing list Erlangweb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/erlangweb-users http://www.erlang-web.org/