Don't fail if server doesn't support partial requests.
Some servers, probably edge cache machines that exclusively serve chunked media, don't support partial requests. Which is kind of vaguely reasonable for that particular case. This change modifies DefaultHttpDataSource to correctly handle this case, by manually skipping data up to the requested position (and making sure not to read more data than the requested length).
Showing
with
120 additions
and
39 deletions
Please
register
or
sign in
to comment