Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75077 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98017 invoked from network); 25 Jun 2014 15:31:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2014 15:31:47 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.172 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.172 mail-qc0-f172.google.com Received: from [209.85.216.172] ([209.85.216.172:36996] helo=mail-qc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/C5-55756-26BEAA35 for ; Wed, 25 Jun 2014 11:31:46 -0400 Received: by mail-qc0-f172.google.com with SMTP id o8so1899248qcw.31 for ; Wed, 25 Jun 2014 08:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QNCUhXUlRUVbR0ABUDPqmdBUaBmiHPFrAMqg0oq6jWA=; b=fAcm/8g+B/ljkMruX7W4hEFOhxBGVEDiLM8Xv/LXbY1WhPKAQFhCmPgYd935y1utGS ci9jl0nDmXTaiBItgocVzJGu8f5LP6i7QE3QI5REpKU43gH+3o+8LHkEP4vySQrMzLon YWavrbj0bPAnely1E1a0y0UTo7r6O1lgOSm8odtY5ccxuk0csFulWfuXBEjbDbx+HPXq kzoSa9rIladhQcgWQYU9LK3djyH0Dh7A8Nh+y/k2aJ83oX7JCdA2ZI8NbV49QYhJIhSD mFLbe9F3Dqp/gpBv7n3dEaM2dfYLQVsVWx2nywamFkZXSehAw2qvNZBkDDjEjxL5EVs1 HSLw== MIME-Version: 1.0 X-Received: by 10.224.161.10 with SMTP id p10mr12866298qax.12.1403710303567; Wed, 25 Jun 2014 08:31:43 -0700 (PDT) Received: by 10.140.25.36 with HTTP; Wed, 25 Jun 2014 08:31:43 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jun 2014 17:31:43 +0200 Message-ID: To: Andrea Faulds Cc: Dmitry Stogov , PHP Internals , Dmitry Stogov Content-Type: multipart/alternative; boundary=089e01536b72032a2b04fcaac6b3 Subject: Re: [PHP-DEV] Re: why do we not set http 500 for errors when the display_error is enabled From: tyra3l@gmail.com (Ferenc Kovacs) --089e01536b72032a2b04fcaac6b3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jun 25, 2014 at 4:55 PM, Andrea Faulds wrote: > > On 25 Jun 2014, at 15:32, Ferenc Kovacs wrote: > > > I see. I assume this is related to > http://support.microsoft.com/kb/294807 > > where by default IE shows pretty but generic message for non-2xx messag= es > > if the response content length is less than or equal to a specific > > threshold(512 bytes for 500 errors for example). > > I don't think that it was a good idea to patch our error handling for t= he > > sake of an usability feature only present in one browser. > > Don=E2=80=99t other browsers do this as well? I believe Chrome and Firefo= x do, at > least for 404 errors. > I could only check chrome, safari and firefox on my mac, but all of those properly show the expected output(123) for