We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d54c4b commit 1a2ec3fCopy full SHA for 1a2ec3f
sapi/litespeed/lsapi_main.c
@@ -478,8 +478,8 @@ static int init_request_info( TSRMLS_D )
478
SG(request_info).content_length = LSAPI_GetReqBodyLen();
479
SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName());
480
481
- /* It is not reset by zend engine, set it to 0. */
482
- SG(sapi_headers).http_response_code = 0;
+ /* It is not reset by zend engine, set it to 200. */
+ SG(sapi_headers).http_response_code = 200;
483
484
pAuth = LSAPI_GetHeader( H_AUTHORIZATION );
485
php_handle_auth_data(pAuth TSRMLS_CC);
0 commit comments