You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/08/23 06:25:15 UTC

[GitHub] [servicecomb-java-chassis] fanjiang-2021 edited a comment on issue #2523: 文件上传 附件为空的时候 SDK 会将content-type设置为application/x-www-form-urlencoded

fanjiang-2021 edited a comment on issue #2523:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2523#issuecomment-903479618


   涉及的类org.apache.servicecomb.common.rest.codec.param.RestClientRequestImpl
   走读源码发现:
   当formMap != null 时候,
   ![image](https://user-images.githubusercontent.com/84115877/130400320-8db565ff-b163-4162-a0d4-089700d775a6.png)
   当文件上传的附件为空的时候,不走doEndWithUpload()方法
   ![image](https://user-images.githubusercontent.com/84115877/130400384-7553169e-4896-4c9e-af0d-7edaaa12bcb7.png)
   
   


-- 
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: commits-unsubscribe@servicecomb.apache.org

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