(E-Mail Removed) écrivait news:Pv-
(E-Mail Removed):
> Can the size of any http be known before fetching it ?
> Even if it has no descendant links ?
The server response headers may send a "Content-Size:xxx" information to
the client. And so the client software may know the size of the data that
follow the headers.
But this is not always available. Most static file request (.html, .jpeg,
....) returns this information, but most script don't do it.
> And related to this: what stops a client being indefinately
> 'held up' by a malicious server - like a D.O.S. attack ?
Most cliet have a (large) timeout.
Regards