Skip to content

Commit 1ae80f8

Browse files
committed
Fix HTTP response status code
1 parent f6d7af2 commit 1ae80f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeade
20592059
our fault code with their own handling... Figure this out later
20602060
*/
20612061
if (use_http_error_status) {
2062-
sapi_add_header("HTTP/1.1 500 Internal Service Error", sizeof("HTTP/1.1 500 Internal Service Error")-1, 1);
2062+
sapi_add_header("HTTP/1.1 500 Internal Server Error", sizeof("HTTP/1.1 500 Internal Server Error")-1, 1);
20632063
}
20642064
if (zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) {
20652065
sapi_add_header("Connection: close", sizeof("Connection: close")-1, 1);

0 commit comments

Comments
 (0)