You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/10 12:17:29 UTC

[GitHub] [apisix] spacewander commented on a diff in pull request #7419: change(grpc): add the correspondence between grpc code and http code

spacewander commented on code in PR #7419:
URL: https://github.com/apache/apisix/pull/7419#discussion_r917387422


##########
apisix/plugins/grpc-transcode.lua:
##########
@@ -78,14 +78,22 @@ local schema = {
 }
 
 local status_rel = {
-    ["3"] = 400,
-    ["4"] = 504,
-    ["5"] = 404,
-    ["7"] = 403,
-    ["11"] = 416,
-    ["12"] = 501,
-    ["13"] = 500,
-    ["14"] = 503,
+    ["1"] = 499,    -- CANCELLED

Review Comment:
   Let's add the source link as a comment



-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org