Thanks Agentzh! Actually http method was just an example, I would need to conditionally process response based on post request parameters or even get request paramters. I don't think header filter will help. Anyways the bigger question is even if I can use access request filter or something similar directive, how do I combine the two directives? In other words how do I make sure body_filter_by_lua is being invoked in response to a specific request only. If someone can provide a pseudo code that would be awesome.
--
You received this message because you are subscribed to a topic in the Google Groups "openresty-en" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openresty-en/UEG8cDqdlcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openresty-en...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.