smileby opened a new issue, #10749:
URL: https://github.com/apache/apisix/issues/10749
### Description
### Description
The following plugin response structure is user defined
- limit-conn.lua
- limit-count.lua
- limit-req.lua
- uri-blocker.lua
- consumer-restriction.lua
Current State
```
return conf.rejected_code, { error_msg = conf.rejected_msg }
OR
return 401, { message = err_msg}
```
Desired State
```
return conf.rejected_code, conf.rejected_msg
OR
return 401, err_msg
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]