Re: lastModified

Giganews Newsgroups
Subject: Re: lastModified
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 2 Feb 2005

"Tapio Saarikumpu" <> wrote in message

> is there any way to get the LastModified parameter of a PHP
> or ASP page without downloading the html?

You already know the answer to that - use Head() to download just the
headers and not the full page content.

> I'm using IdHttp1.Head to compare the IdHttp1.Response.LastModified
> to see if the page has changed. But in these pages there isn't a
> parameter.

Then the server is faulty.  As per the RFCs, the headers returned by the
HEAD command are supposed to be the exact same headers that are returned by
the GET and POST commands.  If the server is not returning all of the
headers, then the server is buggy.



In response to

lastModified posted by Tapio Saarikumpu on Wed, 2 Feb 2005