chore: remove redundant code (#6967)

* chore: delete REWRITTEN_BY_EXT_PLUGIN

* remove blank line

Co-authored-by: soulbird <zhaothreee@gmail.com>
Co-authored-by: soulbird <zhaothree@gmail.com>
This commit is contained in:
soulbird 2022-05-05 09:59:31 +08:00 committed by GitHub
parent 60e0ad6515
commit 8f1006e97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -605,8 +605,6 @@ local rpc_handlers = {
end
if action_type == http_req_call_action.Rewrite then
ctx.request_rewritten = constants.REWRITTEN_BY_EXT_PLUGIN
local action = call_resp:Action()
local rewrite = http_req_call_rewrite.New()
rewrite:Init(action.bytes, action.pos)