1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-24 18:41:06 +03:00

Querying the response content-length never does I/O.

This commit is contained in:
Jake Wharton
2015-12-17 19:15:12 -05:00
parent 9ecff8f961
commit d1f94df145
3 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ public final class Progress {
return responseBody.contentType();
}
@Override public long contentLength() throws IOException {
@Override public long contentLength() {
return responseBody.contentLength();
}