W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1996

Re: Link Verification

From: Richard Connamacher <phantom@baymoo.sfsu.edu>
Date: Tue, 7 May 1996 16:44:30 -0700
Message-Id: <v01540b01adb67ee5bb6a@[10.0.2.15]>
To: Joseph Arceneaux <jla@arceneaux.com>, http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
At 3:47 PM 5/7/96, Joseph Arceneaux wrote:
>Greetings,
>
>I'm addressing this group as a last resort;  I've not seen this
>addressed anyplace.
>
>My problem is that I have a database of HTTP links, and I would like
>to batch-check them to see if they remain valid or have changed in
>some significant way.

I believe the way to do that is to use the HEAD method in your request, so
that the request line will read "HEAD /folder/page.html HTTP/1.1".  The
response will be all the headers that it would normally send before that
document in a GET response, but no document.  This is the standard method
for verifying links or checking if a document has changed without actually
getting that document.

I personally am having trouble implimenting the HEAD method, even though
the HTTP 1.1 specs, which I am trying to follow, require it.  The problem
is that my server is designed to generate pages on the fly, and each page,
in all likelyhood, will be different every time the client retrieves it.
Some pages actually carry out an action, such as move your virtual persona
into a new confrencing area, although sensitive actions would be reserved
for POST requests.  What would be the standard response in this case?
Right now, it only responds with 501 Not Implimented.

Rich

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCPAzEtexUAAAEEALPfu202DEwxLQ96BwKL5liDPzdCVox/iSbc201h5oTzLGmT
v1PU+TmeS/lEtTvVe5WVZ3iDjjKDcoWwc1MRmbCMMVosywXEiXoLqWBTj+hlcKXA
//TpyK4RRBZodr6eFesy2wSphpXTtJnIduKMDP0XuVgcrOILMUa1Zcdw+pa1ABEB
AAG0LVJpY2hhcmQgQ29ubmFtYWNoZXIgPHBoYW50b21AYmF5bW9vLnNmc3UuZWR1
Pg==
=iME4
-----END PGP PUBLIC KEY BLOCK-----
Received on Tuesday, 7 May 1996 16:50:13 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:31:59 EDT