{"action":"created","issue":{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-h/issues/13","labels_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-h/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-h/issues/13/comments","events_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-h/issues/13/events","html_url":"https://github.com/PSU-CSAR/vb-bagis-h/issues/13","id":109911365,"number":13,"title":"AOI Download: Any way to interrupt a file download in progress?","user":{"login":"lbross","id":11527966,"avatar_url":"https://avatars.githubusercontent.com/u/11527966?v=3","gravatar_id":"","url":"https://api.github.com/users/lbross","html_url":"https://github.com/lbross","followers_url":"https://api.github.com/users/lbross/followers","following_url":"https://api.github.com/users/lbross/following{/other_user}","gists_url":"https://api.github.com/users/lbross/gists{/gist_id}","starred_url":"https://api.github.com/users/lbross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbross/subscriptions","organizations_url":"https://api.github.com/users/lbross/orgs","repos_url":"https://api.github.com/users/lbross/repos","events_url":"https://api.github.com/users/lbross/events{/privacy}","received_events_url":"https://api.github.com/users/lbross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T00:18:34Z","updated_at":"2016-01-26T18:38:30Z","closed_at":null,"body":"Once response has started"},"comment":{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-h/issues/comments/175164724","html_url":"https://github.com/PSU-CSAR/vb-bagis-h/issues/13#issuecomment-175164724","issue_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-h/issues/13","id":175164724,"user":{"login":"lbross","id":11527966,"avatar_url":"https://avatars.githubusercontent.com/u/11527966?v=3","gravatar_id":"","url":"https://api.github.com/users/lbross","html_url":"https://github.com/lbross","followers_url":"https://api.github.com/users/lbross/followers","following_url":"https://api.github.com/users/lbross/following{/other_user}","gists_url":"https://api.github.com/users/lbross/gists{/gist_id}","starred_url":"https://api.github.com/users/lbross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbross/subscriptions","organizations_url":"https://api.github.com/users/lbross/orgs","repos_url":"https://api.github.com/users/lbross/repos","events_url":"https://api.github.com/users/lbross/events{/privacy}","received_events_url":"https://api.github.com/users/lbross/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T18:38:30Z","updated_at":"2016-01-26T18:38:30Z","body":"There are 6 possible states where the user might want to interrupt the process. Do we want to allow cancellation for all of these? I indicated which actor has the control for each state and should be able to halt the process.\r\n\r\n1. Client is zipping the file but upload has not started (client)\r\n2. Upload commenced but server hasn't started processing; Bits are on the wire. Client should tell the server that upload will never complete (client/server)\r\n3. Upload finished; Server is unpacking and saving to database (server)\r\n4. Download requested; Server is creating the zip file (server)\r\n5. Download commenced but client doesn't have complete file; Bits on the wire (client)\r\n6. Download finished but file not unzipped (client)"}}