Lines Matching refs:header_name
495 char *header_name, *p; in php_nsapi_remove_header() local
499 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in php_nsapi_remove_header()
502 if (p = strchr(header_name, ':')) { in php_nsapi_remove_header()
507 for (p=header_name; *p; p++) { in php_nsapi_remove_header()
512 param_free(pblock_remove(header_name, rc->rq->srvhdrs)); in php_nsapi_remove_header()
513 pool_free(rc->sn->pool, header_name); in php_nsapi_remove_header()
520 char *header_name, *header_content, *p; in sapi_nsapi_header_handler() local
537 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in sapi_nsapi_header_handler()
540 header_content = strchr(header_name, ':'); in sapi_nsapi_header_handler()
548 for (p=header_name; *p; p++) { in sapi_nsapi_header_handler()
553 if (op==SAPI_HEADER_REPLACE || strcmp(header_name, "content-type")==0) { in sapi_nsapi_header_handler()
554 param_free(pblock_remove(header_name, rc->rq->srvhdrs)); in sapi_nsapi_header_handler()
557 pblock_nvinsert(header_name, header_content, rc->rq->srvhdrs); in sapi_nsapi_header_handler()
560 pool_free(rc->sn->pool, header_name); in sapi_nsapi_header_handler()