Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1268

Calculate and include SHA-1 hash at the end of a B2 upload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.1
    • None
    • jclouds-blobstore

    Description

      B2 removed the need to calculate the SHA-1 hash before uploading a file, allowing streaming. Currently jclouds uploads files without a hash, although B2 also supports calculating the hash while uploading then including the SHA-1 at the end via X-Bz-Content-Sha1: hex_digits_at_end:

      https://www.backblaze.com/b2/docs/uploading.html

      Supporting this requires some changes to jclouds to allow modifying the Payload to emit the hash at the end of the transfer.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gaul Andrew Gaul
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: