{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/719","labels_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/719/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/719/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/719/events","html_url":"https://github.com/aws/aws-sdk-js/issues/719","id":106816002,"number":719,"title":"Uploading to s3 with ArrayBuffer data and Signature Version 4","user":{"login":"kentor","id":240493,"avatar_url":"https://avatars.githubusercontent.com/u/240493?v=3","gravatar_id":"","url":"https://api.github.com/users/kentor","html_url":"https://github.com/kentor","followers_url":"https://api.github.com/users/kentor/followers","following_url":"https://api.github.com/users/kentor/following{/other_user}","gists_url":"https://api.github.com/users/kentor/gists{/gist_id}","starred_url":"https://api.github.com/users/kentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentor/subscriptions","organizations_url":"https://api.github.com/users/kentor/orgs","repos_url":"https://api.github.com/users/kentor/repos","events_url":"https://api.github.com/users/kentor/events{/privacy}","received_events_url":"https://api.github.com/users/kentor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-16T16:58:24Z","updated_at":"2015-09-19T14:38:57Z","closed_at":null,"body":"I'm trying to upload parts to s3 via the browser (Chrome). If I give `s3.uploadPart()` an ArrayBuffer (they come from Web Workers) as the `Body`, it will eventually try to call `reader.readAsArrayBuffer(sliceFn.call(data, index, back));` and fail because `readAsArrayBuffer` only works on Blobs.\r\n\r\nNow I could convert the ArrayBuffer to a Blob with `new Blob([arrayBuffer])` but this makes a copy of the data which is very expensive. These are 5mb chunks and they cause the UI to freeze and jank.\r\n\r\nIs there a better way of handling this without making copies of the ArrayBuffer data?"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/comments/141675416","html_url":"https://github.com/aws/aws-sdk-js/issues/719#issuecomment-141675416","issue_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/719","id":141675416,"user":{"login":"jeskew","id":705500,"avatar_url":"https://avatars.githubusercontent.com/u/705500?v=3","gravatar_id":"","url":"https://api.github.com/users/jeskew","html_url":"https://github.com/jeskew","followers_url":"https://api.github.com/users/jeskew/followers","following_url":"https://api.github.com/users/jeskew/following{/other_user}","gists_url":"https://api.github.com/users/jeskew/gists{/gist_id}","starred_url":"https://api.github.com/users/jeskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeskew/subscriptions","organizations_url":"https://api.github.com/users/jeskew/orgs","repos_url":"https://api.github.com/users/jeskew/repos","events_url":"https://api.github.com/users/jeskew/events{/privacy}","received_events_url":"https://api.github.com/users/jeskew/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T14:38:57Z","updated_at":"2015-09-19T14:38:57Z","body":"Right; the eu-central-1 region requires all signatures to be v4."}}