Open vikasgrover33 opened 8 years ago
No Response till now for the above issue.
This is the bug in SimpleMultiPartRequest where response always return with .octet.stream.
Facing similar issue. Trying to upload a Jpeg Image but it's content type is set to application/octet-stream which server blocks from uploading. It should be an image/jpeg type instead
smr.addFile("filePic", getPath(imageUri));
yes, i have the same problem, its octet-stream always
I solved this problem by changing the content-type in lib itself.
Thanks & Regards Vikas Grover +917503298590
On Sat, Mar 31, 2018 at 1:05 PM, scsonic notifications@github.com wrote:
yes, i have the same problem, its octet-stream always
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DWorkS/VolleyPlus/issues/40#issuecomment-377673737, or mute the thread https://github.com/notifications/unsubscribe-auth/APLxnusR7PcpWZr9pk0gQZOT2mLCf5HIks5tjzHfgaJpZM4G0FhT .
@vikasgrover33 How do you do that?
I am working with an android application where I am trying to upload a file to server with SimpleMultipartRequest, either I upload the jpeg,pdf,png but i always receive xyz.octet-stream file path in response. Even if I add some extra parameter. Below is the code for the same.
SimpleMultiPartRequest request = new SimpleMultiPartRequest(methodType, url, new Response.Listener() {