We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
web platform is ok. but android, ios, simulator is this message.
I guess it's DOM element object.
another solution? or aws-sdk all platform support ?
thanks
The text was updated successfully, but these errors were encountered:
answer myself:
Edit: aws-sdk/lib/http/xhr.js
xhr.onreadystatechange = function(){ try { if (xhr.status === 0) return; // 0 code is invalid } catch (e) { return; } if (!headersEmitted) { try { xhr.responseType = 'arraybuffer'; } catch (e) {} emitter.statusCode = xhr.status; emitter.headers = self.parseHeaders(xhr.getAllResponseHeaders()); emitter.emit('headers', emitter.statusCode, emitter.headers); headersEmitted = true; } if (this.readyState === this.DONE) { self.finishRequest(xhr, emitter); } }; //native not defined // xhr.upload.onprogress = function(evt){ // emitter.emit('sendProgress', evt); // }; xhr.onprogress= function(evt){ emitter.emit('receiveProgress', evt); }; xhr.ontimeout = function(){ errCallback(AWS.util.error(new Error('Timeout'), {code: 'TimeoutError'})); }; xhr.onerror=function(){ errCallback(AWS.util.error(new Error('Network Failure'), { code: 'NetworkingError' })); };
Sorry, something went wrong.
No branches or pull requests
web platform is ok. but android, ios, simulator is this message.
I guess it's DOM element object.
another solution? or aws-sdk all platform support ?
thanks
The text was updated successfully, but these errors were encountered: