Jens Müller: httpd.access_log des Apache: GET, HEAD

Beitrag lesen

Hallo Chris,

kann mir jemand sagen, was die Kennung HEAD im Traffic-Log
des Apache bedeutet?

HTTP 1.1 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.

In Deutsch und anderen Worten HEAD, ist nur ein Normaler GET-
Request.

Das taucht jetzt immer häufiger auf, wird meistens mit Error 200
quittiert und hat angeblich keine (weiteren) Bytes zur Folge.

200 ist kein Fehler, sondern eine Server Meldung diese Meldung
besagt die Anfrage war in Ordnung.

HTTP 1.1 ftp://ftp.isi.edu/in-notes/rfc2616.txt

10.2.1 200 OK
 The request has succeeded. The information returned with the
response is dependent on the method used in the request, for
example.

gruesse aus'm RuhrPott
  jens mueller