Lines Matching refs:http_response_code
585 if (SG(sapi_headers).http_response_code == ncode) { in sapi_update_response_code()
593 SG(sapi_headers).http_response_code = ncode; in sapi_update_response_code()
672 int http_response_code; in sapi_header_op() local
702 http_response_code = p->response_code; in sapi_header_op()
812 if ((SG(sapi_headers).http_response_code < 300 || in sapi_header_op()
813 SG(sapi_headers).http_response_code > 399) && in sapi_header_op()
814 SG(sapi_headers).http_response_code != 201) { in sapi_header_op()
816 if (http_response_code) { /* user specified redirect code */ in sapi_header_op()
817 sapi_update_response_code(http_response_code); in sapi_header_op()
835 if (http_response_code) { in sapi_header_op()
836 sapi_update_response_code(http_response_code); in sapi_header_op()
906 …line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_response_code); in sapi_send_headers()