summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-08-17 18:36:02 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-08-18 08:33:45 +0200
commit1ae80f8c92e37bc1940ee7d927ff365fc176f2d6 (patch)
tree0f81984c2b5bc32e395637324c7fd4532ae74cf4
parentf6d7af21a399979952ac4b4f066c42c7e167f5bf (diff)
downloadphp-git-1ae80f8c92e37bc1940ee7d927ff365fc176f2d6.tar.gz
Fix HTTP response status code
-rw-r--r--ext/soap/soap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index bff077d95f..3651779972 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -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);