HTTP/1.1 (and maybe earlier) allow you to specify a Range header to specify which parts of the document you wish to download. The server may ignore the Range request and return the entire document. In that event, you could simply close the connection once you've received enough bytes.
In reply to Re: How to only download first 200 bytes of an image ?
by ikegami
in thread How to only download first 200 bytes of an image ?
by Preben
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |