ichenhe opened a new issue #2190: URL: https://github.com/apache/incubator-shenyu/issues/2190
### Question For now, Shenyu always returns http 200, no matter what is returned from upstream. Even if Shenyu has an error(e.g. no rule matched), it still returns 200. I have read [the document about custom response](https://shenyu.apache.org/docs/developer/custom-result/), but it can't change the http code. So, how to achieve it? 1. Inherit the upstream http code (e.g. 400) 2. Custom http code if any errors in Shenyu. -- 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]
