I see, and is it possible to set specific header from an rpc func ? Like we
have in application:
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
Thx.
On 22 November 2014 at 19:39, Roberto De Ioris <[email protected]> wrote:
>
> > Hi.
> >
> > I'm trying to create a simple test app using routing
> > <http://uwsgi-docs.readthedocs.org/en/latest/InternalRouting.html>.
> What I
> > want to accomplish is the following:
> > - have a list of rules defined.
> > - each rule map to specific python func
> > - when rules is matched, call the func(possible pass the params from
> > matching rule $1, $2...)
> >
> > I found some old, dusty docs
> > <http://projects.unbit.it/uwsgi/wiki/FastFuncs>,
> > but seems that uwsgi.fastfuncs is no more supported.
> >
> > Can you guid how to accomplish this? I know this is possible. Why? Well
> in
> > uWSGI all is possible :).
> >
> >
> > Thx.
> > _______________________________________________
> > uWSGI mailing list
> > [email protected]
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >
>
> The old fastfuncs have been superseeded by rpc
>
> http://uwsgi-docs.readthedocs.org/en/latest/RPC.html
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi