mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix HTTP response status code
This commit is contained in:
parent
f6d7af21a3
commit
1ae80f8c92
@ -2059,7 +2059,7 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeade
|
||||
our fault code with their own handling... Figure this out later
|
||||
*/
|
||||
if (use_http_error_status) {
|
||||
sapi_add_header("HTTP/1.1 500 Internal Service Error", sizeof("HTTP/1.1 500 Internal Service Error")-1, 1);
|
||||
sapi_add_header("HTTP/1.1 500 Internal Server Error", sizeof("HTTP/1.1 500 Internal Server Error")-1, 1);
|
||||
}
|
||||
if (zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) {
|
||||
sapi_add_header("Connection: close", sizeof("Connection: close")-1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user