httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kutschker <>
Subject Re: CGIs and HEAD requests
Date Sat, 11 Jan 2003 10:07:19 GMT
Date: Fri, 10 Jan 2003 10:01:01 +0100 (MET)
From: Martin Kutschker <>

> Is it possible for a CGI to handle HEAD requests? Mozilla uses HEAD for
> it's 'save link target' feature, which 'breaks' my web app - annoyingly
> every file (suggested to be downloaded) gets a .html extension as Apches
> 1.3 sends the default mime type.

Sorry, my fault. The CGI runs ...completely! That is it sends contents over the wire not just
the headers. Shame on me.

Mozilla doesn't seem to like this behaviour, though. I have fixed the CGI in question, but
there are many other CGIs which don't cope with head. How about making Apache (read mod_cgi)
ignore extra output for HEAD requests?


View raw message