Closed wangfeng22 closed 2 years ago
Following is my plugin config. I find that the response-rewrite plugin is invalid because it will only call the plugin.HTTPReqCall(buf, conn). So the ResponseRewrite.ResponseFilter will not be executed. I don't know why ty (:= header[0]) equals 2.
"ext-plugin-post-req": { "conf": [ { "name": "response-rewrite", "value": "{\"status\":200,\"headers\":{\"test\":\"t\"},\"body\":\"aaa\"}" } ], "disable": false }
uname -a
Issue description
Following is my plugin config. I find that the response-rewrite plugin is invalid because it will only call the plugin.HTTPReqCall(buf, conn). So the ResponseRewrite.ResponseFilter will not be executed. I don't know why ty (:= header[0]) equals 2.
Environment
uname -a
):