发布

  • feat(interceptor, jshandler): enhance request/response handling with original request support

    frostbyte_neo 发布于 2026-06-09 05:57:38 +00:00 | 661 次提交 在此版本后已推送到 main

    • Added opts.OriginalRequest handling to applyResponseInterceptors for improved context passing.
    • Introduced new test TestApplyJSBeforeRequestUsesReturnedCtxBody to validate JavaScript interceptor behavior.
    • Updated JavaScript-based handler to safely rewrite sensitive content and headers in requests.
    • Refined interceptor logic to ensure consistent state retention across request processing.
    下载附件