codeguard / s3gof3r

Fast, concurrent, streaming access to Amazon S3, including gof3r, a CLI. http://godoc.org/github.com/rlmcpherson/s3gof3r
MIT License
1 stars 0 forks source link

Retry 500 response if an error does not occur #6

Closed taylorskalyo closed 8 years ago

taylorskalyo commented 8 years ago

We want to retry 500 errors if an error does not occur.

Relevant lines from the go docs:

A non-2xx response doesn't cause an error. When err is nil, resp always contains a non-nil resp.Body.

eldondevcg commented 8 years ago

LGTM I think.