RetrofitUpLoadFileDemo
RetrofitUpLoadFileDemo copied to clipboard
上传问题
上传的流的格式怎么设置?
如果是移动端,是通过RequestBody.create(MediaType)指定的.Demo中的UploadFileRequestBody有具体的MediaType 如果是后端,是通过MultiPartFile进行接收 文件上传的性质都是通过流传输,格式都是固定的,不明白你想怎么指定?
在 2018年6月21日,16:10,FloatScanView首页悬浮点。 <[email protected] mailto:[email protected]> 写道:
上传的流的格式怎么设置?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cicinnus0407/RetrofitUpLoadFileDemo/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AOc5MKeLsipe_qhxIkWgNiHVnAKazMtRks5t-1TogaJpZM4Uxly_.