diff --git a/dropbox.go b/dropbox.go index 3f6ea17..17c41a0 100644 --- a/dropbox.go +++ b/dropbox.go @@ -545,7 +545,7 @@ func (db *Dropbox) Download(src, rev string, offset int) (io.ReadCloser, int64, if response, err = db.client().Do(request); err != nil { return nil, 0, err } - if response.StatusCode == http.StatusOK { + if response.StatusCode == http.StatusOK || response.StatusCode == http.StatusPartialContent { return response.Body, response.ContentLength, err } response.Body.Close()