You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
dotjavafile
changed the title
Image file content type aplication/octate-stream??? Whats wrong?
Image file content type application/octate-stream??? Whats wrong?
Dec 29, 2017
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.
The text was updated successfully, but these errors were encountered: