By default, this implementation of
HttpURLConnection
getContentLength()
getInputStream()
. Instead, read that stream until it is exhausted: whenread()
HttpURLConnection
getContentLength()
getInputStream()
. Instead, read that stream until it is exhausted: whenread()