Lines Matching refs:header

117 	efree(sapi_header->header);  in sapi_free_header()
254 default_header->header = emalloc(default_header->header_len+1); in sapi_get_default_content_type_header()
255 memcpy(default_header->header, "Content-type: ", sizeof("Content-type: ")); in sapi_get_default_content_type_header()
256 …memcpy(default_header->header+sizeof("Content-type: ")-1, default_content_type, default_content_ty… in sapi_get_default_content_type_header()
257 default_header->header[default_header->header_len] = 0; in sapi_get_default_content_type_header()
509 sapi_header_struct *header; in sapi_remove_header() local
514 header = (sapi_header_struct *)(current->data); in sapi_remove_header()
516 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header()
517 && !strncasecmp(header->header, name, len)) { in sapi_remove_header()
528 sapi_free_header(header); in sapi_remove_header()
642 sapi_header.header = header_line; in sapi_header_op()
649 sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, sapi_header.header_len); in sapi_header_op()
693 sapi_header.header = newheader; in sapi_header_op()
772 sapi_header.header = newheader; in sapi_header_op()
782 …sapi_header.header_len = spprintf(&sapi_header.header, 0, "WWW-Authenticate: Basic realm=\"%ld\"",… in sapi_header_op()
786 if (sapi_header.header==header_line) { in sapi_header_op()
802 colon_offset = strchr(sapi_header.header, ':'); in sapi_header_op()
807 … sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, strlen(sapi_header.header)); in sapi_header_op()
835 sapi_add_header_ex(default_header.header, default_header.header_len, 0, 0 TSRMLS_CC); in sapi_send_headers()
855 http_status_line.header = SG(sapi_headers).http_status_line; in sapi_send_headers()
858 http_status_line.header = buf; in sapi_send_headers()