Home
last modified time | relevance | path

Searched refs:http_response_code (Results 1 – 25 of 35) sorted by last modified time

12

/PHP-5.4/sapi/webjames/
H A Dwebjames.c185 SG(sapi_headers).http_response_code = 200; in webjames_module_main()
/PHP-5.4/sapi/tux/
H A Dphp_tux.c119 len = slprintf(status_line, 30, "HTTP/1.1 %d NA\r\n", SG(sapi_headers).http_response_code); in sapi_tux_send_headers()
124 TG(req)->http_status = SG(sapi_headers).http_response_code; in sapi_tux_send_headers()
342 SG(sapi_headers).http_response_code = 200; in tux_request_ctor()
/PHP-5.4/sapi/nsapi/
H A Dnsapi.c581 protocol_status(rc->sn, rc->rq, SG(sapi_headers).http_response_code, NULL); in sapi_nsapi_send_headers()
1029 SG(sapi_headers).http_response_code = (error_directive) ? rq->status_num : 200; in php5_execute()
/PHP-5.4/sapi/phttpd/
H A Dphttpd.c75 http_sendheaders(PHG(cip)->fd, PHG(cip), SG(sapi_headers).http_response_code, NULL); in php_phttpd_sapi_header_handler()
191 SG(sapi_headers).http_response_code = 200; in php_phttpd_request_ctor()
261 return SG(sapi_headers).http_response_code; in php_doit()
/PHP-5.4/sapi/pi3web/
H A Dpi3web_sapi.c190 lpCB->dwHttpStatusCode = SG(sapi_headers).http_response_code; in sapi_pi3web_send_headers()
277 SG(sapi_headers).http_response_code = 200; in init_request_info()
/PHP-5.4/sapi/roxen/
H A Droxen.c366 push_int(SG(sapi_headers).http_response_code); in php_roxen_low_send_headers()
649 SG(sapi_headers).http_response_code = 200; in f_php_roxen_request_handler()
/PHP-5.4/sapi/thttpd/
H A Dthttpd.c185 SG(sapi_headers).http_response_code); in sapi_thttpd_send_headers()
193 TG(hc)->status = SG(sapi_headers).http_response_code; in sapi_thttpd_send_headers()
457 SG(sapi_headers).http_response_code = 200;
/PHP-5.4/sapi/isapi/
H A Dphp5isapi.c270 switch (SG(sapi_headers).http_response_code) { in sapi_isapi_send_headers()
294 snprintf(status_buf, MAX_STATUS_LENGTH, "%d Undescribed", SG(sapi_headers).http_response_code); in sapi_isapi_send_headers()
304 lpECB->dwHttpStatusCode = SG(sapi_headers).http_response_code; in sapi_isapi_send_headers()
748 …SG(sapi_headers).http_response_code = 200; /* I think dwHttpStatusCode is invalid at this stage -… in init_request_info()
775 SG(sapi_headers).http_response_code = 404; in init_request_info()
862 SG(sapi_headers).http_response_code = 404; in HttpExtensionProc()
/PHP-5.4/sapi/litespeed/
H A Dlsapi_main.c378 LSAPI_SetRespStatus( SG(sapi_headers).http_response_code ); in sapi_lsapi_send_headers()
482 SG(sapi_headers).http_response_code = 200; in init_request_info()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_log.c377 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%d", SG(sapi_headers).http_response_code); in fpm_log_write()
H A Dfpm_main.c397 int response_status = SG(sapi_headers).http_response_code; in sapi_cgi_send_headers()
403 if (CGIG(nph) || SG(sapi_headers).http_response_code != 200) in sapi_cgi_send_headers()
444 if (err->code == SG(sapi_headers).http_response_code) { in sapi_cgi_send_headers()
452 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers()
1070 SG(sapi_headers).http_response_code = 200;
1312 SG(sapi_headers).http_response_code = 404;
1807 SG(sapi_headers).http_response_code = 400;
1897 SG(sapi_headers).http_response_code = 404;
1905 SG(sapi_headers).http_response_code = 403;
1921 SG(sapi_headers).http_response_code = 403;
[all …]
H A Dfpm_status.c69 SG(sapi_headers).http_response_code = 200; in fpm_status_handle_request()
87 SG(sapi_headers).http_response_code = 500; in fpm_status_handle_request()
97 SG(sapi_headers).http_response_code = 503; in fpm_status_handle_request()
110 SG(sapi_headers).http_response_code = 500; in fpm_status_handle_request()
121 SG(sapi_headers).http_response_code = 200; in fpm_status_handle_request()
/PHP-5.4/sapi/continuity/
H A Dcapi.c191 httpFset_status(rc->t, SG(sapi_headers).http_response_code, NULL); in sapi_capi_send_headers()
427 SG(sapi_headers).http_response_code = 200; in capi_request_ctor()
/PHP-5.4/sapi/cli/tests/
H A Dbug65066_511.phpt12 php_cli_server_start('http_response_code(511);');
H A Dbug67429.phpt13 http_response_code($code);
H A Dbug65066_100.phpt12 php_cli_server_start('http_response_code(100);');
H A Dbug65066_422.phpt12 php_cli_server_start('http_response_code(422);');
/PHP-5.4/sapi/cli/
H A Dphp_cli_server.c536 …ttp_status_line(&buffer, client->request.protocol_version, SG(sapi_headers).http_response_code, 0); in sapi_cli_server_send_headers()
1894 php_cli_server_log_response(client, SG(sapi_headers).http_response_code, NULL TSRMLS_CC); in php_cli_server_dispatch_script()
1962 SG(sapi_headers).http_response_code = 200; in php_cli_server_request_startup()
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c406 int response_status = SG(sapi_headers).http_response_code; in sapi_cgi_send_headers()
412 if (CGIG(nph) || SG(sapi_headers).http_response_code != 200) in sapi_cgi_send_headers()
453 if (err->code == SG(sapi_headers).http_response_code) { in sapi_cgi_send_headers()
459 …len = slprintf(buf, sizeof(buf), "Status: %d %s\r\n", SG(sapi_headers).http_response_code, err->ms… in sapi_cgi_send_headers()
461 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers()
1157 SG(sapi_headers).http_response_code = 200;
1356 SG(sapi_headers).http_response_code = 404;
1933 SG(sapi_headers).http_response_code = 400;
2344 SG(sapi_headers).http_response_code = 403;
2347 SG(sapi_headers).http_response_code = 404;
/PHP-5.4/sapi/apache2filter/
H A Dsapi_apache2.c150 ctx->r->status = SG(sapi_headers).http_response_code; in php_apache_sapi_send_headers()
266 ctx->r->status = SG(sapi_headers).http_response_code; in php_apache_sapi_flush()
404 SG(sapi_headers).http_response_code = !f->r->status ? HTTP_OK : f->r->status; in php_apache_request_ctor()
/PHP-5.4/sapi/apache2handler/
H A Dsapi_apache2.c159 ctx->r->status = SG(sapi_headers).http_response_code; in php_apache_sapi_send_headers()
308 r->status = SG(sapi_headers).http_response_code; in php_apache_sapi_flush()
476 SG(sapi_headers).http_response_code = !r->status ? HTTP_OK : r->status; in php_apache_request_ctor()
/PHP-5.4/sapi/apache_hooks/
H A Dmod_php5.c370 ((request_rec *) SG(server_context))->status = SG(sapi_headers).http_response_code; in sapi_apache_send_headers()
586 SG(sapi_headers).http_response_code = r->status; in init_request_info()
/PHP-5.4/sapi/caudium/
H A Dcaudium.c374 push_int(SG(sapi_headers).http_response_code); in php_caudium_low_send_headers()
622 SG(sapi_headers).http_response_code = 200; in php_caudium_module_main()
/PHP-5.4/sapi/aolserver/
H A Daolserver.c154 Ns_ConnFlushHeaders(NSG(conn), SG(sapi_headers).http_response_code); in php_ns_sapi_send_headers()
459 SG(sapi_headers).http_response_code = 200; in php_ns_request_ctor()
/PHP-5.4/sapi/apache/
H A Dmod_php5.c231 r->status = SG(sapi_headers).http_response_code; in sapi_apache_send_headers()
533 SG(sapi_headers).http_response_code = r->status; in init_request_info()

Completed in 101 milliseconds

12