hunk.code_window: When using a POST upload with a policy document, this should be the root URL of the bucket.
   The `fields` field is an object with form fields to send along with the upload request.
   For presigned PUT uploads, this should be empty.
   ### `timeout: 30 * 1000`
   When no upload progress events have been received for this amount of milliseconds, assume the connection has an issue and abort the upload. This is passed through to [XHRUpload](/docs/xhrupload#timeout-30-1000); see its documentation page for details.
   Set to `0` to disable this check.
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit: The `headers` field is an object with request headers to send along with the upload request.
  
hunk.file_path: website/src/docs/aws-s3.md
hunk.type: add
file: <!DOCTYPE html>
  <html>
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>Uppy example: XHRUpload to a single endpoint</title>
    </head>
    <body>
      <style>
        main {
          display: flex;
          justify-content: space-around;
          align-items: center;
        }
        h1 { text-align: center }
      </style>
      <main>
        <div>
          <h1>files[]</h1>
          <div id="app"></div>
        </div>
      </main>
  
      <link href="uppy.min.css" rel="stylesheet">
      <script src="bundle.js"></script>
    </body>
  </html>
  