lua location capture

Richard Kearsley Richard.Kearsley at m247.com
Fri May 20 01:59:16 MSD 2011


Hi
The lua doc at https://github.com/chaoslawful/lua-nginx-module
Says "Note that, by default, subrequests issued by ngx.location.capture inherit all the request headers of the current request."
And goes on to say that it can be an unwanted feature
In my project I actually take advantage of this feature, but for some reason the headers don't go through to the sub request
All I get is:

Uri:/checksize/100meg.zip
Host : 127.0.0.1:12340
Connection : close
Content-Length : 0

It should have a TON of headers and I've proven they are there in the main request
Any ideas why they don't get through?

Thanks as always
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110519/2e91e55a/attachment.html>


More information about the nginx mailing list