Ok, but does this header returned by the server include the size of the document generated.How would it know the size!? If it does it in some manner - i what variable can I find the relevant information?
On Mon, 3 Jun 2002, Keary Suska wrote: > on 6/3/02 2:31 AM, [EMAIL PROTECTED] purportedly said: > > > A basic doubt not related to LWP: If the thing that generates the > > document has no special code to address HEAD requests conveniently, is > > it guaranteed somewhere that you actually won't download the document? > > If yes, who is responsible of ensuring it? > > As long as the HTTP server is RFC compliant, regardless of what the back-end > script/application returns, the server will only return the headers. The > problem would be if the behavior of the back-end changes depending on the > request method. In this case the Content-length header (and other relevant > headers) may not be accurate. > > Keary Suska > Esoteritech, Inc. > "Leveraging Open Source for a better Internet" > -- ------------------------------------------- If You don't like my English - I can use Russian. Evgeny.
