- 新增 NewRequestCtx 和 NewRequestCtxWithHeader 辅助函数 - 简化各测试文件中 RequestCtx 创建代码 - 减少测试代码重复,提高可维护性 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
提供日志输出、响应输出、HTTP 状态码常量 API: ngx.log, ngx.say, ngx.print, ngx.flush, ngx.exit, ngx.redirect Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>