Return-Path: Mailing-List: contact modperl-help@apache.org; run by ezmlm Delivered-To: mailing list modperl@apache.org Received: (qmail 64346 invoked from network); 5 Jul 2000 20:06:53 -0000 Received: from firebox-ext.soma.redhat.com (HELO hardrock.soma.redhat.com) (205.217.45.80) by locus.apache.org with SMTP; 5 Jul 2000 20:06:53 -0000 Received: (from plindner@localhost) by hardrock.soma.redhat.com (8.9.3/8.9.3) id NAA25450; Wed, 5 Jul 2000 13:06:20 -0700 Date: Wed, 5 Jul 2000 13:06:20 -0700 From: Paul Lindner To: Dmitry Beransky Cc: modperl@apache.org Subject: Re: Apache::ASP and HEAD Message-ID: <20000705130620.L19526@redhat.com> Reply-To: plindner@redhat.com Mail-Followup-To: Dmitry Beransky , modperl@apache.org References: <4.3.2.7.0.20000705124648.055e0190@biomail.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <4.3.2.7.0.20000705124648.055e0190@biomail.ucsd.edu>; from dberansky@ucsd.edu on Wed, Jul 05, 2000 at 12:51:07PM -0700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Wed, Jul 05, 2000 at 12:51:07PM -0700, Dmitry Beransky wrote: > Hi, > > I remember seen the answer to this some time ago (I may have even asked > this myself), but I couldn't find it in the archives. Can anyone remind me > why Apache::ASP includes a message body in reply to a HEAD request? Probably because it is just running your script. You need to check the REQUEST_METHOD variable and branch accordingly. Same goes for the If-Modified header. I find the resources at http://www.web-caching.com/ a must read for anyone doing CGI applications. -- Paul Lindner plindner@redhat.com Red Hat Inc.