Skip to content

Commit

Permalink
Release version 1.0.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanzhenjie committed Jun 25, 2016
1 parent acdaa5b commit 4845fa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ else if (Build.VERSION.SDK_INT >= AndroidVersion.KITKAT)
* @throws IOException if no InputStream could be created.
*/
protected InputStream getServerStream(int responseCode, String contentEncoding, HttpURLConnection urlConnection) throws IOException {
if (responseCode > 400)
if (responseCode >= 400)
return getErrorStream(contentEncoding, urlConnection);
else {
return getInputStream(contentEncoding, urlConnection);
Expand Down

0 comments on commit 4845fa0

Please sign in to comment.