I have just got an idea (sleeping sometime helps ;):
response-header-collect = Content-Type MY_CONTENT_TYPE
response-header-collect = Server THE_SERVER
this will place the "tracked" headers in a request var as soon as
they are
received
So you can do something like:
error-route-if = equal:${MY_CONTENT_TYPE};text/html
toxslt:stylesheet=/whatever/template.xslt,content_type=text/html
implementing it would be super-easy and there will be no need to add
more
features to internal routing syntax
--
Roberto De Ioris
Awsome! Thank you very much. That will solve my problem and I guess it
will solve many others' too! I'll give it a try tomorrow (i.e. as soon
as I can) and let you know.
Thank you again, for this and for uWSGI itself...
Pablo.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi