9 Star 34 Fork 14

starjun007 / openstar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
header.lua 283 Bytes
一键复制 编辑 原始数据 按行查看 历史
--if ngx.req.is_internal() then return end
local ngx_var = ngx.var
local next_ctx = ngx.ctx.next_ctx or {}
local type = type
if type(next_ctx.replace_Mod) == "table" then
ngx.header["content-length"] = nil
end
if next_ctx.http_code then
ngx.status = next_ctx.http_code
end
Lua
1
https://gitee.com/starjun007_admin/git_openstar.git
git@gitee.com:starjun007_admin/git_openstar.git
starjun007_admin
git_openstar
openstar
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891