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

Add support for upload property #12

Closed
lasseschou opened this issue Dec 10, 2012 · 2 comments
Closed

Add support for upload property #12

lasseschou opened this issue Dec 10, 2012 · 2 comments

Comments

@lasseschou
Copy link

The XMLHttpRequestUpload object that is accessible through the upload property is not accessible through the new XHR object. This property, along with the other missing ones, should be surfaced so it doesn't break existing functionality of the original XHR.

@alfishe
Copy link

alfishe commented May 13, 2013

Issue is still actual. Better to add XHR 2 support

@ilinsky
Copy link
Owner

ilinsky commented May 18, 2013

It is not possible to add any functionality related to file upload with XMLHttpRequest.js library as there is probably no way to provide a fallback implementation for older browsers.

The suggested solution is the following: you include this library only with IE less then 10 (using IE conditional comments), and manage absence of upload functionality there in your code.

<!--[if lte IE 9]>
<script src="XMLHttpRequest.js" type="text/javascript"></script>
<![endif]-->

@ilinsky ilinsky closed this as completed May 18, 2013
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

3 participants