monkeyDluffy6017 commented on issue #7987: URL: https://github.com/apache/apisix/issues/7987#issuecomment-1259196165
For 1, OpenRest doesn't provide a api to change the HTTP status reason now, but i found a stale pr: https://github.com/openresty/lua-nginx-module/pull/870, it could resolve your problem, but it is blocked by `need test cases`, i will push this pr. For 2, please follow what @tokers suggested, and if you want to handle with the upstream status code, please add directive `proxy_intercept_errors`. -- 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]
