Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dotjavafile opened this issue Dec 29, 2017 · 0 comments
Open

Comments

@dotjavafile
Copy link

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant