摘要: lua在openresty中获取请求的请求头 local head_table = ngx.req.get_headers() 由于table类型,无法直接使用ngx.say()显示,需要转换为cjson local cjson = require "cjson" local tab_list = 阅读全文
posted @ 2019-05-29 12:48 代码家园 阅读(798) 评论(0) 推荐(0) 编辑