VolleyPlus icon indicating copy to clipboard operation
VolleyPlus copied to clipboard

Image file content type application/octate-stream??? Whats wrong?

Open dotjavafile opened this issue 7 years ago • 0 comments

I am trying to upload a jpeg Image. Below is the code for that.

smr.addFile("filePic", getPath(imageUri));

I was getting 302 redirect on the request and getting redirected to homepage. Upon analyzing http request I saw image content type was application/octate-stream which my server blocks (probably works on localhost) . I need a way to set the image content type to right one.

dotjavafile avatar Dec 29 '17 23:12 dotjavafile