[PHP] HEAD instead of GET??

2001-08-28 Thread Seb Frost

I'm just having my first ever look at my website raw log file and found
this:  Almost every entry is a GET somefile HTTP/1.0, but one IP address
sent about 200 HEAD requests instead of GET.  No one else has done this,
just this one IP address.



For example:

HEAD /contact.php4 HTTP/1.0

instead of

GET /contact.php4 HTTP/1.0




What does it mean?

cheers,

- seb
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] HEAD instead of GET??

2001-08-28 Thread Jason Brooke

 For example:
 
 HEAD /contact.php4 HTTP/1.0
 
 instead of
 
 GET /contact.php4 HTTP/1.0
 
 
 
 
 What does it mean?
 
 cheers,
 
 - seb

From the http1.1 rfc (because it's a http-related thing, not php) 
ftp://ftp.isi.edu/in-notes/rfc2616.txt 



9.4 HEAD

   The HEAD method is identical to GET except that the server MUST NOT
   return a message-body in the response. The metainformation contained
   in the HTTP headers in response to a HEAD request SHOULD be identical
   to the information sent in response to a GET request. This method can
   be used for obtaining metainformation about the entity implied by the
   request without transferring the entity-body itself. This method is
   often used for testing hypertext links for validity, accessibility,
   and recent modification.

   The response to a HEAD request MAY be cacheable in the sense that the
   information contained in the response MAY be used to update a
   previously cached entity from that resource. If the new field values
   indicate that the cached entity differs from the current entity (as
   would be indicated by a change in Content-Length, Content-MD5, ETag
   or Last-Modified), then the cache MUST treat the cache entry as
   stale.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]