Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39264 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19994 invoked from network); 24 Jul 2008 11:08:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2008 11:08:23 -0000 Authentication-Results: pb1.pair.com header.from=david.zuelke@bitextender.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=david.zuelke@bitextender.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain bitextender.com does not designate 80.237.132.12 as permitted sender) X-PHP-List-Original-Sender: david.zuelke@bitextender.com X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Received: from [80.237.132.12] ([80.237.132.12:55144] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/2E-44225-5A268884 for ; Thu, 24 Jul 2008 07:08:21 -0400 Received: from munich.bitxtender.net ([85.183.90.3] helo=[10.224.251.2]); authenticated by wp005.webpack.hosteurope.de running ExIM using esmtpsa (TLSv1:RC4-SHA:128) id 1KLygD-0002PP-83; Thu, 24 Jul 2008 13:08:17 +0200 Cc: PHP Developers Mailing List Message-ID: <126B4B34-330F-4F15-BCBA-8D3208B79937@bitextender.com> To: Noah Fontes , Lukas Kahwe Smith In-Reply-To: <48876D27.6030407@bitextender.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 24 Jul 2008 13:08:17 +0200 References: <4885E513.6080702@bitextender.com> <48864FA5.6050104@zend.com> <48876D27.6030407@bitextender.com> X-Mailer: Apple Mail (2.926) X-bounce-key: webpack.hosteurope.de;david.zuelke@bitextender.com;1216897701;6033214b; Subject: Re: [PHP-DEV] Patch for HTTP successful status codes From: david.zuelke@bitextender.com (=?ISO-8859-1?Q?David_Z=FClke?=) So... who's gonna commit it? :) David Am 23.07.2008 um 19:40 schrieb Noah Fontes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Z=FClke wrote: >> Yeah. We discussed that quite a while back when I sent over the >> "ignore_errors" options patch-like thing in November: >> http://thread.gmane.org/gmane.comp.php.devel/46003 >> >> I think we should do it. >> >> But what about other 3xx redirect codes? How are those handled? > > I think PHP implicitly follows any Location headers it can. That's > probably not the right behavior, but for an automated process it's =20 > not bad. > > I think that 3xx status codes, if they appear without a Location =20 > header, > should also probably not throw errors. They could provide valuable > information about the status of a page (particularly 304 Not =20 > Modified), > so I've updated the patch: > > http://cynigram.com/~nfontes/http_fopen_wrapper.patch > > BTW, any chance this could be rolled into 5.3? I think the BC break is > pretty non-notable, and it would be nice to stop throwing errors for > successful responses. > > Regards, > > Noah > > - -- > Noah Fontes > Bitextender > http://www.bitextender.com/ > Phone: +1 919 349 9826 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIh20nhitK+HuUQJQRAqipAJ9pndnS4K4L5GtPzoYsEguYQSgSXwCfb6yC > YnohwjT8KYCiADQehg4Jm2A=3D > =3DUzO8 > -----END PGP SIGNATURE----- > > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >