Answer the question
In order to leave comments, you need to log in
Android. How to get the first 20 kilobytes from a web page?
Hello!
There is a need to download the first 20 kilobytes of a web page. How can this be done programmatically in java, in particular for android?
Those. at the beginning of the page there is some text that you need to get, without downloading the entire page, for parsing.
Thank you!
Answer the question
In order to leave comments, you need to log in
HTTP has a Range parameter, using it you can download only the first N required bytes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question