You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ryan Bloom <rb...@covalent.net> on 2002/06/10 14:51:05 UTC

RE: HEAD Executes CGI on HEAD

> From: Jerry Baker [mailto:jerrybaker@attbi.com]
> 
> Is it correct for Apache to be executing includes when a HEAD request
is
> issued for a document that contains includes?

Yep.  Apache treats a HEAD request exactly like a GET request, except
that we don't return the body.  The HTTP spec states that we have to
return the same headers as we would return in a GET request, which
usually means that we need to actually run the request.

Ryan