Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29123 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3425 invoked by uid 1010); 1 May 2007 10:12:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3410 invoked from network); 1 May 2007 10:12:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 May 2007 10:12:44 -0000 Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.51 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.51 darkcity.gna.ch Linux 2.6 Received: from [195.226.6.51] ([195.226.6.51:43339] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/65-40722-B9217364 for ; Tue, 01 May 2007 06:12:43 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 50617AC3BA; Tue, 1 May 2007 12:12:40 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXuGVTLD; Tue, 1 May 2007 12:12:39 +0200 (CEST) Received: from box.local (80-219-9-20.dclient.hispeed.ch [80.219.9.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 30C11AC153; Tue, 1 May 2007 12:12:38 +0200 (CEST) Message-ID: <46371292.2090107@cschneid.com> Date: Tue, 01 May 2007 12:12:34 +0200 User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Uwe Schindler CC: internals@lists.php.net References: <000c01c78bd4$e3534000$0201a8c0@VEGA> In-Reply-To: <000c01c78bd4$e3534000$0201a8c0@VEGA> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] Setting HTTP results code vs. HTTP type From: cschneid@cschneid.com (Christian Schneider) Uwe Schindler wrote: > * Some scripts use header('HTTP/1.0 301 Moved Permanently'). Problem here: > You must supply a HTTP version (this seems to be a problem in Apache), and This is not necessarily a problem with Apache, it is just a problem in the current implementation as far as I can tell. If the Apache2 SAPI would not try to change the HTTP version of the Apache request structure (or only downgrade it, never upgrade it) then no problem would arise. Therefore I was hoping that this could be treated as a bug fix and be done in 5.2.3 or even 5.2.2. - Chris