zhengyangyong commented on a change in pull request #47: General development 
dir translation and include img
URL: 
https://github.com/apache/incubator-servicecomb-docs/pull/47#discussion_r212517686
 
 

 ##########
 File path: java-chassis-reference/en_US/general-development/file-download.md
 ##########
 @@ -69,75 +69,76 @@ return ResponseEntity
     .body(stream);
 ```
 
-在下载完成后,ServiceComb会自动关闭stream,开发人员不必再关注
+After the download is complete, ServiceComb will automatically close the 
stream, and developers don't have to pay attention
 
-## 5.文件类型判定
+## 5. File type determination
 
-只要没有通过ResponseEntity直接设置HttpHeaders.CONTENT\_TYPE,ServiceComb都会尝试通过File、Part、Resource中的文件名后缀进行自动判定。
+As long as the HttpHeaders.CONTENT\_TYPE is not set directly via 
ResponseEntity, ServiceComb will try to automatically determine the file name 
suffix in File, Part, and Resource.
 
-ServiceComb使用java的mime 
type机制进行文件类型判定,如果业务场景中的文件后缀无法被识别,ServiceComb会默认处理为application/octet-stream
+ServiceComb uses java's mime type mechanism for file type determination. If 
the file suffix in the business scenario cannot be identified, ServiceComb will 
default to application/octet-stream.
 
-如果这不满足要求,假设文件后缀为xyz,期望文件类型为application/file-xyz,以下方式任选一种均可解决:
+If this does not meet the requirements, assuming the file suffix is, and the 
expected file type is application/file-xyz, any of the following methods can be 
resolved:
 
-### 1)通过Java的mime type机制扩展
+### 1)Expanding through Java's mime type mechanism
 
 Review comment:
   扩展是Extend

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to