liubao68 commented on issue #1999:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1999#issuecomment-707430506


   另外, 302 是一个特殊的错误码, 表示重定向。 有两个处理策略:
   1. follow redirect, 业务不需要再接口定义中声明 302 错误码, http 层会进行重定向, 并获取最终结果。 
   2. 直接处理。 目前 java-chassis 的方式。 接口声明 302 错误码, 业务获取到 errorcode 和 location, 
自己做后续处理。 
   你们期望的是那种方式了? 


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to