Update DefaultHttpDataSource.java

This commit is contained in:
Emanuele Tidó 2020-12-30 17:01:36 +00:00 committed by GitHub
parent 15a59d93ee
commit ee0d4a5b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -378,7 +378,7 @@ public class DefaultHttpDataSource extends BaseDataSource implements HttpDataSou
errorStream != null ? Util.toByteArray(errorStream) : Util.EMPTY_BYTE_ARRAY;
} catch (IOException e) {
throw new InvalidResponseCodeException(
responseCode, responseMessage, headers, dataSpec, null);
responseCode, responseMessage, headers, dataSpec, null);
}
closeConnectionQuietly();
InvalidResponseCodeException exception =