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:
@@ -80,7 +80,7 @@ public final class Progress {
|
||||
return responseBody.contentType();
|
||||
}
|
||||
|
||||
@Override public long contentLength() throws IOException {
|
||||
@Override public long contentLength() {
|
||||
return responseBody.contentLength();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user