Skip to content

Commit

Permalink
Merge pull request #1931 from gaolizheng/v2.2.1-release
Browse files Browse the repository at this point in the history
修复断点续传功能bug
  • Loading branch information
holycanvas committed Nov 20, 2019
2 parents dd17ca2 + c8b8975 commit 47ca5b9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -190,7 +190,7 @@ public void onResponse(Call call, Response response) throws IOException {

try {

if(response.code() != 200) {
if(!(response.code() >= 200 && response.code() <= 206)) {
downloader.onFinish(id, -2, response.message(), null);
return;
}
Expand Down

0 comments on commit 47ca5b9

Please sign in to comment.