request_id
ngx.HTTP_POST
ngx.HTTP_GET
syntax: ngx.req.set_method(method_id)
hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance --
Hi,哥们这个貌似直接去提个 PR 更方便,哈哈在 2015年9月9日 下午5:06,Lance <lance...@gmail.com>写道:hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance -- class="HOEnZb"> --
hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance -- class="HOEnZb">
这个文档构建挺麻烦的,不能直接编辑 .markdown,所以还是让 agnetzh 同学自己搞吧Lance 2015-09-09 17:20 GMT+08:00 DeJiang Zhu <douj...@gmail.com>:Hi,哥们这个貌似直接去提个 PR 更方便,哈哈在 2015年9月9日 下午5:06,Lance <lance...@gmail.com>写道:hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance -- -- --
Hi,哥们这个貌似直接去提个 PR 更方便,哈哈在 2015年9月9日 下午5:06,Lance <lance...@gmail.com>写道:hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance -- --
你可以直接给他的wiki文件提交 PR 。2015-09-09 17:22 GMT+08:00 Lance <lance...@gmail.com>:这个文档构建挺麻烦的,不能直接编辑 .markdown,所以还是让 agnetzh 同学自己搞吧Lance 2015-09-09 17:20 GMT+08:00 DeJiang Zhu <douj...@gmail.com>:Hi,哥们这个貌似直接去提个 PR 更方便,哈哈在 2015年9月9日 下午5:06,Lance <lance...@gmail.com>写道:hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance -- -- -- -- MembhisMy github: https://github.com/membphisOur Book: OpenResty Best Practices --
从善如流https://github.com/openresty/lua-nginx-module/pull/562Lance 2015-09-09 17:25 GMT+08:00 YuanSheng Wang <yuan...@iresty.org>:你可以直接给他的wiki文件提交 PR 。2015-09-09 17:22 GMT+08:00 Lance <lance...@gmail.com>:这个文档构建挺麻烦的,不能直接编辑 .markdown,所以还是让 agnetzh 同学自己搞吧Lance 2015-09-09 17:20 GMT+08:00 DeJiang Zhu <douj...@gmail.com>:Hi,哥们这个貌似直接去提个 PR 更方便,哈哈在 2015年9月9日 下午5:06,Lance <lance...@gmail.com>写道:hi agentzh,文档中有个小 bughttps://github.com/openresty/lua-nginx-module#ngxreqset_methodOverrides the current request's request method with the request_id argument. Currently only numerical method constants are supported, like ngx.HTTP_POST and ngx.HTTP_GET.这一段中的 request_id 应该是 method_id,因为上面语法定义是这样的syntax: ngx.req.set_method(method_id)Lance -- -- -- -- MembhisMy github: https://github.com/membphisOur Book: OpenResty Best Practices -- --