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

   "当文件下载接口出现错误时" 抛出异常的时机是什么?下载逻辑实现,还是HttpServerFliter?
   
   一般来讲,任何一个错误码,比如200,它的响应类型需要时确定的,否则在客户端的视角, 无法根据状态码来判断如何解析响应。 
这种场景应该把异常设计为不同的错误码。 
   


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