ResponseInfo.getReceivedByteCount should account for number of bytes received through redirects and response headers received when response has started.
It is incorrectly set to 0 in callback to UrlRequest.Callback.onResponseStarted().
It is reported properly in following callbacks onReadCompleted / onSucceeded / onFailed.
This applies to Android Java and Native API.
Comment 1 by mef@chromium.org
, Mar 9 2018