chaoslawful/lua-nginx-module — pull request #289 by aviramc (2013-10-07 07:28:05+00:00)
Title: Subrequest API - method can be passed as a string

In the ngx.location.capture and ngx.localtion.capture_multi APIs, the method option can now also be a string. If the string is an unknown method, the subrequest's method field is set to NGX_HTTP_UNKNOWN, and the method_name field is set to the given method name. The previous numeric method still works.