ThinDownloadManager icon indicating copy to clipboard operation
ThinDownloadManager copied to clipboard

Extract some variables into the DownloadResponse & Fix some issues fo…

Open Locke93 opened this issue 7 years ago • 0 comments

  1. Refactor code: extract some variables into the download response `
  • private int mResponseCode;
  • private String mResponseMessage;
  • private String mErrorMessage;
  • private String mTransferEncoding;
  • private long mContentLength;
  • private long mRangeLength;
  • private String mLocation; `
  1. Fixed some issues for resumable download feature
  • Fixed shouldn't add "Range" when request.isResumable() is false
  • Fixed accessFile.seek shouldn't seek to cacheSize when request.isResumable() is false

Locke93 avatar Jan 20 '18 04:01 Locke93