openresty使用http模块
OpenResty默认没有提供Http客户端,需要使用第三方提供的插件我们可以从github上搜索相应的客户端,比如https://github.com/pintsized/lua-resty-http安装方法:将 lua-resty-http/lib/resty/ 目录下的 http.lua 和 http_headers.lua 两个文件拷贝到 /usr/local...