tokers commented on issue #6007:
URL: https://github.com/apache/apisix/issues/6007#issuecomment-1005304751


   > Hi, @tokers.
   > 
   > 1. It should instead contain the query string, should I add an extra key 
for that?
   >    `X-Forwarded-Uri: /headers?test=test`
   > 2. As an authentication service, it needs to return a default rejection 
response and write to the log in case of its failure. I don't have a good 
solution for this part yet to distinguish between normal rejection and service 
degradation, so I hope you will give me more suggestions.
   
   1. I think it's good enough, we don't have to add another field;
   2. We may don't have to do this in the first MVP version but we should 
consider such a demand, what about adding the filed `reject_codes`, and when 
this field is missing, by default all non-2xx status codes will be treated as 
rejection. Let's also see other guys' idea :)


-- 
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]


Reply via email to