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

Why do I need FileReader at all? #624

Closed
sunshineo opened this issue Mar 14, 2015 · 2 comments
Closed

Why do I need FileReader at all? #624

sunshineo opened this issue Mar 14, 2015 · 2 comments

Comments

@sunshineo
Copy link

I need to post without using multipart
I can do this

$http.post("https://api.parse.com/1/files/" + files[0].name, files[0], {
                    withCredentials: false,
                    headers: {
                            'Content-Type': files[0].type
                    },
                   transformRequest: angular.identity
            });

It works totally fine. But when I try to switch to this library $uploader.http() method based on #88 I have to use a FileReader.

What is going on? Why do I suddenly need FileReader?

@danialfarid
Copy link
Owner

You are right it is not needed.
I have updated the README and gonna update the demo page.

Thanks

danialfarid pushed a commit that referenced this issue Apr 13, 2015
…and some IE8-9 bugs and styling issue
@danialfarid
Copy link
Owner

Fixed in version 3.3.0

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

2 participants