Re: PHP 4.0 Bug #5885: mod_php sends response body forHEAD Requests

From: Date: Wed, 02 Aug 2000 22:22:54 +0000
Subject: Re: PHP 4.0 Bug #5885: mod_php sends response body forHEAD Requests
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-27499@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > Ok, I have tracked this down. If you look at line 1038 of > http_request.c in the Apache 1.3.12 source code you will see > that Apache explicitly sets the request method to GET on an > ErrorDocument redirect. > > Still trying to figure out what to do about this. ISTR this is because the content-body may or may not have been gobbled by processing to that point -- or else that it may need to be discarded because the redirect is off-system. It's older behaviour than rev 1.3 of the file, though. I think RFC2616 might hold the answer.. -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> "Apache Server Unleashed" <http://ApacheUnleashed.Com/>

« previous php.dev (#27499) next »