-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
response-rewrite rewrite the response from apisix #2703
Comments
I think it’s because of the priority of the plugins, |
I have the same issue. Here is the error log:
|
However, if you execute |
@Miss-you your explanation is lifesaving. Much appreciated. |
Thanks for your instructions @Miss-you , we will try to feedback to the issue you mentioned after further digestion. So the above problem I think is not a bug, it may considered as an enhancement that response rewrite only rewrite the response comes from upstream. |
done |
Issue description
Environment
apisix version
): latest master branchMinimal test code / Steps to reproduce the issue
/get
with the right key/get
without the keyWhat's the expected result?
When perform step4, the request did not pass the authentication, and it should not be sent to upstream service, the expected result would be
{"message":"Missing API key found in request"}
returned by apisix.The text was updated successfully, but these errors were encountered: