title: Is it possible to programmatically cancel/stop a started download from JavaScript?
body: <p>Our application implements a custom download manager.</p>
  
  <p>So actually this means that when a user starts a download of a resource he/she has the opportunity to cancel it through a UI button from the app, which actually sends some event to the server to cancel the downloading (the connection is disconnected and etc). </p>
  
  <p>But since recently Chrome added auto-resume of failed downloads, so the same request is resumed to be downloaded again from the Chrome Download Manager, it's because Chrome cannot distinguish that the user/server intentionally canceled the HTTP connection so it revokes it again.</p>
  
  <p>Currently, we download resources using IFrame, but once the download is started by the browser changing the IFrame's src attribute is not relevant anymore. I've tried to use <code>&lt;a href='...' download&gt;</code> but the issue is the same.</p>
  
  <p>Maybe there's some API at least for Chrome? (There's actually such for Chrome extensions but this is not  the case)</p>