Req #36636 [Opn->Dup]: Fatal, compiler and related errors return a HTTP status code of 200.
| From: | requinix@php.net | Date: | Sat, 05 May 2018 18:01:19 +0000 |
| Subject: | Req #36636 [Opn->Dup]: Fatal, compiler and related errors return a HTTP status code of 200. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215067@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=36636&edit=1
ID: 36636
Updated by: requinix@php.net
Reported by: jonnay at jonnay dot net
Summary: Fatal, compiler and related errors return a HTTP
status code of 200.
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: Any
PHP Version: 5.1.2
Block user comment: N
Private report: N
New Comment:
See bug #50921.
Previous Comments:
------------------------------------------------------------------------
[2011-02-18 12:51:47] tyra3l at gmail dot com
this is implemented yet imho.
there is a bug with xdebug: http://bugs.php.net/bug.php?id=50921
------------------------------------------------------------------------
[2006-03-06 20:33:12] jonnay at jonnay dot net
Description:
------------
When a script is executing, and an E_ERROR or an E_PARSE error occurs (and perhaps E_CORE_ERROR,
E_COMPILE_ERROR), an HTTP status code of 500 should be sent (when possible), rather then a 200,
because the server has in fact encountered an internal error, and everything is not actually OK.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=36636&edit=1