mirror of
https://github.com/square/okhttp.git
synced 2025-08-01 16:06:56 +03:00
committed by
Jesse Wilson
parent
7337b1d7ac
commit
f468cfc7b2
@ -241,7 +241,7 @@ class HttpLoggingInterceptor @JvmOverloads constructor(
|
||||
logger.log("<-- END HTTP (encoded body omitted)")
|
||||
} else {
|
||||
val source = responseBody.source()
|
||||
source.request(java.lang.Long.MAX_VALUE) // Buffer the entire body.
|
||||
source.request(Long.MAX_VALUE) // Buffer the entire body.
|
||||
var buffer = source.buffer
|
||||
|
||||
var gzippedLength: Long? = null
|
||||
|
Reference in New Issue
Block a user