Welcome! Log In Create A New Profile

Advanced

ngx.location.capture support in header_filter_by_lua

Posted by xiaojuntime 
ngx.location.capture support in header_filter_by_lua
October 24, 2011 06:01AM
Hi,

I have a case that after a response from upstream server, I want to generate one subrequest via ngx.location.capture to talk to another internal server, but it's not supported as the document says:
"
header_filter_by_lua
For now, the following Nginx Lua APIs are disabled in this context:
...
• Subrequest APIs (e.g., ngx.location.capture and ngx.location.capture_multi)
...
"

I am wondering how much efforts needed to support this or is there any workaround?

Thanks,
Jun
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 5 on May 17, 2013
Record Number of Guests: 138 on May 16, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready