Ross L Richardson([email protected]) on 2021.10.01 23:49:18 +1000: > On Fri, Oct 01, 2021 at 03:31:32PM +0200, Hiltjo Posthuma wrote: > >[...] > > To me it sounds like a feature. Assuming $REQUEST_METHOD is set to "HEAD" > > then > > the CGI script can decide what to do. > > > > So maybe it's just a bug in the ftplist.cgi script? > >[...] > > It's in violation of the RFC's "MUST NOT". > > I neglected to mention that, *IIRC*, back in the Apache 1.3 days, CGI scripts > could just treat HEAD like GET and the server would remove the body but > report the Content-Length.
Indeed, this should be handled better by httpd(8), i think.
