Duke-GCB / DukeDSClient

Command line program to allow uploading, downloading, and managing projects in the duke-data-service.
MIT License
5 stars 6 forks source link

Fix 403 S3 errors when downloading #230

Closed johnbradley closed 5 years ago

johnbradley commented 5 years ago

Handles two more differences when working against the new DukeDS S3 backend. Previously DukeDSClient added a / between the host and url fields that needed to be combined to download a file. We stop doing so due to this causing errors in S3. Another issue is retrying expired urls. Swift returns 401 status code when a url is expired. S3 returns a 403 status code when a url is expired.

Fixes #229